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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RAHULBANDI
Helper II
Helper II

***Gauge Chart***

Hi Team,

I have Following Data-set

Hospitals

Abn Group

CCAD

NMC Group

Imperial College

Prime Healthcare

 

I have inserted this Hospitals data in to  slicers

My requirement is when

i select 1 data point in Hospitals it should show 20% in guage chart

if i select 2 data point in Hospitals it should show 40% in guage chart and so one........

Please look into this

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @RAHULBANDI ;

Try it.

Measure = DIVIDE( COUNT(Test[Hospitals]),CALCULATE(COUNT(Test[Hospitals]),ALL(Test)))

Then change the type of this meausre.

vyalanwumsft_0-1663657728794.png

The final show:

vyalanwumsft_1-1663657746860.png

vyalanwumsft_2-1663657756874.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @RAHULBANDI ;

Try it.

Measure = DIVIDE( COUNT(Test[Hospitals]),CALCULATE(COUNT(Test[Hospitals]),ALL(Test)))

Then change the type of this meausre.

vyalanwumsft_0-1663657728794.png

The final show:

vyalanwumsft_1-1663657746860.png

vyalanwumsft_2-1663657756874.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@RAHULBANDI Try a measure like this:

Measure = 
    DIVIDE(
        COUNTROWS(SUMMARIZE('Table',[Hospitals])),
        COUNTROWS(SUMMARIZE(ALL('Table'),[Hospitals]))
    )


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi 

Thq for your Reply

I have tried ur measure, but it s showing like this

RAHULBANDI_0-1663513451278.png

 

I'm looking for 20%, 40%, 60% etc;

and i need the Gauge chart to fill accordingly

I have taken min = 1, max = 10

 

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
Top Kudoed Authors