Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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 selects a Individual Location/Restaurant then it returns the name of that restaurant and a (Blank) for the value [see below]. Is there a way for the entire section to be blank when an invidual location is selected instead of a City [will all locations selected under that City]?
Here is the measure I'm using to return top performing restaurant in the Selected City ->
Solved! Go to Solution.
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.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.