Forum Discussion
Filter within if statement
- 3 years ago
If I understand correctly, you will have to modify the measure you are using in the graph to show the data rather than adding a "ShowHide" measure. The use case is different from the one in the card visual, since here we are talking about modifying the result instead of showing it or not.
Can you show the code for the main measure in the chart? Plus the structure of the relevant tables involved in that measure.
Please accept the solution when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Hi oaz18
There are several major issues with the syntax of that code.
In any case, I would need first to understand what you want to do. What do you mean exactly by "I'd like to add a filter so anyone 4 years and under is also removed. This measure is then used to filter a graph. "
Removed from where?
What do you mean by a measure filtering a graph?
Can you provide an example based on sample data to elaborate on the requirements? Include the expected result.
|
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
- oaz183 years agoNew Member
Thank you for your help and apologies for not being more clear. I updated the post with more details on the issue I'm stuck. I hope it's a little clearer this time.