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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
baneworth
Helper II
Helper II

dynamic Top limit for line and stacked chart

Hello Community

 

I use a Line and stacked column chart to show the results as the line and the 3 targets (green, yellow and red) as kind of shading with graphs.

The lower (green) and mid (yellow) limits come from excel and are fixed. The Toplimit i want to show dynamic, meaning from the highest result + 10.

 

I created the DAX to show me the MaxResult and then created the measure for the TopLimit.

 

Dax to get Max of result (findings)

maxresolved.jpg

 

DAX for toplimit (red graph)

toplimit.jpg

 

If you take a look at the screenshot you can see that now the TopLimit applies to each SerialNr individually which is wrong.

I understand why this happens but have no clue how to fix it.

 

LimitQCBS.jpg

 

Obviously the red Graph should be full like the green and yellow ones based on the Max finding.

 

If anyone could help me out or even suggest something different to achieve the same i would be very thankful.

 

Best regards

Matthias

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@baneworth , Your limit should be like

 

calculate( Maxx(values(Table[Axis COlumn]), [Max Resolved]), allselected()) +10

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@baneworth , Your limit should be like

 

calculate( Maxx(values(Table[Axis COlumn]), [Max Resolved]), allselected()) +10

@amitchandak thank you very much!

Appreciate it

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.