Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
giramswa
Helper II
Helper II

How to show no data (0%) in gauge until slicer is selected

What measure do I need to create to show no data in my gauge visual until I select something from my slicer? I have 'Budget' in my value shown as percentage, and in my slicer I can select the Project Number. When I have not selected anything in the slicer, it's just combining all the data from all Projects and show in guage and I do not want this. I don't want to hide the gauge visual instead I want it to show empty (0%) when there is no selction in slicer. How to do this?

 

giramswa_2-1673346456789.png

 

 

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @giramswa 

Assuming [Budget] is the measure you are currently using in the gauge, you can create another measure that uses [Budget] and place it in the gauge and format it as percentage:

Measure_ =
VAR aux_ = SELECTEDVALUE(Table1[Project Number])
RETURN
IF(NOT ISBLANK(aux_), [Budget], 0)

 

SU18_powerbi_badge

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.

 

View solution in original post

3 REPLIES 3
NickolajJessen
Solution Sage
Solution Sage

Hi,

Have you looked into using the HASONEVALUE formula?
It Would look something like this:
If(HASONEVALUE([Project Number]), [MyMeasure], 0)

AlB
Community Champion
Community Champion

Hi @giramswa 

Assuming [Budget] is the measure you are currently using in the gauge, you can create another measure that uses [Budget] and place it in the gauge and format it as percentage:

Measure_ =
VAR aux_ = SELECTEDVALUE(Table1[Project Number])
RETURN
IF(NOT ISBLANK(aux_), [Budget], 0)

 

SU18_powerbi_badge

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.

 

@AlB Thank you so much for the quick help, this is exactly what I was looking for.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors