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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
IB-Dee
Helper I
Helper I

Dynamic Maximum Value in a Gauge Chart

Hi All

 

I'm trying to create a Gauge chart with a dynamic Maximum value based on a Date slicer.

 

1. I have a simple weekly budget sales table like the below.

 

IB-Dee_0-1596814203631.png      

 

2. Then a date slicer as per below

 

IB-Dee_1-1596814488645.png

 

3. I need the maximum value of the gauge chart to reflect the sum of the weekly sales budget that fall into the date range specified by the date slicer. I've tried different measures and it always gives me the sum of all the weekly budgets, it doesn't factor in the date range specified by the slicer.

 

IB-Dee_2-1596814544143.png

 

Your help is much appreciated.

 

Many thanks

 

 

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @IB-Dee 

Agreed with @simrantuli , if date table and your main table has a proper relationship, then the maximu value of the gauge chart would change as expected.

If the problem is still here, please let us know your data structure and relationships among tables, measures created before.

 

Best Regards

Maggie

simrantuli
Continued Contributor
Continued Contributor

Hi @IB-Dee,

 

Is there any relationship between the table containing 'Date' column that you have used in the slicer and Weekly Budget Sales table?

Looks like either a relationship doesn't exist or it is not defined properly.

 

Best Regards

Simran Tuli

amitchandak
Super User
Super User

@IB-Dee , Try like

lastnonblankvalue(table[week-end],max(table[Weekly sales Budget]))

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors