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! Learn more

Reply
Anonymous
Not applicable

Display Gauge Visual based on Report Filters

Hi All, 

 

I have a requirment like below.

 

As you can see below I have Actual vs Plan data for 5 countries. (Blue bar- Actual , Black Vertical bar - Plan)

Jimy123_0-1605163060670.png

Based on this there is a Gaude Bar visual which shows the Pecentage values . (Formula : Actual / Plan)

The First requiremet is 

1. Show the Gauge bar value only when there is Actual and Plan values for all 5 countries , else Blank. This I was able to achieve using some IF ELSE logic. The Gauge Bar will lokk like the below in this case.

Jimy123_1-1605163254944.png

 

Iam facing challenge in implementing the 2nd requirment on top of  this . The 2nd req is 

 

2. We have country ID as page  filter (which by default Selects  and shows all 5 countries). Whenver users unselects the countries that are not having actual or plan values , the Gauge bar should show the calculated value.

For Ex: Here, country GCL and GVL are not having plan values. So, if the user unselects both these countries from Filter pane, we are left with 3 countries that are having both Actual and Plan Values. In that case, the gauge visual should show the corresponding calculate value , like (sum of Actual values for 3 countries /sum of plan values for 3 countries).

 

Jimy123_2-1605163788229.png

 

is there a way to implement this together. Requesting suggestions

 

 

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

Hi @Anonymous ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1605579110572.pngv-lionel-msft_1-1605579129107.png

 

Best regards,
Lionel Chen

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-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1605579110572.pngv-lionel-msft_1-1605579129107.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Not very clear. something like this

if(isblank([plan values]), [measure1], [measure2])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak  there is only one measure for Gauge visual ( Division of actual and Plan - Actual/Plan). The first requirement i could achieve using IF ISBLANK condition. But my challenge is another scnario on top of this When the user selects only the countries having both actual and plan  values (from the filter pane), the gauge bar that was showing blank should show the calculated value (as shown in the last pic)

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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