Forum Discussion
AaronGlenn10
4 years agoHelper III
Hiding data or values based on selection
I have a dashboard containing restaurants sales across the State of Texas -- when a user selects a City then the top performing location for that City will display [see below[ - however, when a user ...
- 4 years ago
Hi AaronGlenn10
You could use HASONEVALUE function (DAX) in an IF condition in your measure. Below is an example.
Measure 2 = IF(HASONEVALUE('Table (4)'[Item]),BLANK(),[Measure])In your scenario, you could try
IF(HASONEVALUE('Table (4)'[Location Name]),BLANK(),[TopLocationSales])Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
v-jingzhang
4 years agoCommunity Support
Hi AaronGlenn10
You could use HASONEVALUE function (DAX) in an IF condition in your measure. Below is an example.
Measure 2 = IF(HASONEVALUE('Table (4)'[Item]),BLANK(),[Measure])
In your scenario, you could try
IF(HASONEVALUE('Table (4)'[Location Name]),BLANK(),[TopLocationSales])
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.