For this first create a parameter with default value.
After that create a filter and then write calculated filed with ifelse like this:
ifelse ( $parameter = âBy Number of unitsâ, filed1 , Field2 )
Make sure to use exact string in calculated field and in filter.
Did this solution work for you? I am marking this reply as, âSolution,â but let us know if this is not resolved. Thanks for posting your questions on the QuickSight Community!