I want to create a drop-down filter from a calculated field- File Validation. This calculated field is created in the analysis.
The filters are :
File size is Greater, please check
File size small, please check
File size is good
I was able to successfully create drop down filters.
In the first screenshot, ALL shows values for all filters which is correct.
In the second screenshot, File size Greater, please check----- shows the correct.
But for others, no data.
So, I believe, its the way --wrong way we are providing Multiple parameter values. Screenshot 4. Should it be divided through a comma or. semicolon?
I provided the values—one value in single line, like below–
File size is Greater, please check
File size small, please check
File size is good
Hello @dsahu, I may need a little more information, but I will provide a suggestion for a work-around that should resolve the issue you are facing. First, for your parameter, set a default value. If you want All to be the default response, than type ALL_VALUES in the default box. Now, rather than filtering directly from the control values selected, lets use a calculated field that takes advantage of the in function.
This function will check if the parameter value is Null, which in this case will mean select all has been chosen or the default, it will return any file validation field. Otherwise, it will check if the file validation result from that row matches one of the values returned in the multi select parameter. Then, just to be sure only proper values are returned, you can apply a custom filter based on the new calculated field, select Does Not Equal from the dropdown, leave the text box empty, and make sure exclude Nulls is selected. That should give you the result you are expecting.
I’ll mark this response as the solution, but please let me know if you have any remaining questions. Thank you!