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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Justas4478
Responsive Resident
Responsive Resident

Median line in column chart

Hi, I have clusterd column chart.

Justas4478_0-1710944205090.png

I was trying to add medina line for 98%, but it wasnt working.
And I was hoping end result would look like this.

Justas4478_1-1710944335197.png

Unfortunatelly no measure does the job.
This is the measure of the data in the columns: 

% Fulfilment = 'Outbound Delivery'[Total Actual]/'Outbound Delivery'[Total Demand]

I tried to just create static % measure like this
Median value = 0.98
And it partialy worked, but it as well displayed floors that do not have any data, which is not what I hope.
Justas4478_2-1710944497934.png

Anyone know what would be correct way to do this?
Thanks



1 ACCEPTED SOLUTION
Uzi2019
Super User
Super User

Hi @Justas4478 
Just take your measure in line value under Analyses setting

Uzi2019_0-1710945168528.png

 

 

like above image.
I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

2 REPLIES 2
Uzi2019
Super User
Super User

Hi @Justas4478 
Just take your measure in line value under Analyses setting

Uzi2019_0-1710945168528.png

 

 

like above image.
I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
Greg_Deckler
Super User
Super User

@Justas4478 This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149

The pattern is:
MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
etc.

 

This might also help: To **bleep** With MEDIAN - Microsoft Fabric Community


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.