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
Anonymous
Not applicable

Add Average Line in Gauss Curve

Good Afternoon All, 

 

I am needing some help as I have exhausted everyting I can think of in doing this. I have a Gauss Curve, or "bell curve" I created for information related to how many days difference vendors are from getting their purchase orders to us on time (called DayDiff). With this data I was able to review a video that showed me how to create a bell curve graph. What I would like to do now is create measure/calculated column to be able to display the mean and std dev +- 1 and +- 3 within the curve and the data label associated. I undertand this may sound like a lot, in fact I have tried all kinds of ways to manipulate it but I can't seem to get it. Below is all the information. 

 
 

BIgausssnip.PNG

 The Measures created for the red (mean) and the blue (std dev):

 

(µ) DayDiff = AVERAGE(OnTimeDelivery[DayDiff])
(σ) DayDiff = STDEV.S(OnTimeDelivery[DayDiff])
 
Measures for +-1 and +-3:
 
x+1σ = [(µ) DayDiff] + 1*[(σ) DayDiff]
x-1σ = [(µ) DayDiff] - 1*[(σ) DayDiff]
x+3σ = [(µ) DayDiff] + 3*[(σ) DayDiff]
x-3σ = [(µ) DayDiff] - 3*[(σ) DayDiff]
 
*Hopefully this information helps. Any help would be appreciated, thank you!
 
 
3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

If that is a line chart visualization, there is a built in Average line in the analytics pane in the Visuals area (magnifying glass icon). Also, for you measures, you may be able to change them to the following:

 

(µ) DayDiff = AVERAGE(ALL(OnTimeDelivery[DayDiff]))
(σ) DayDiff = STDEV.S(ALL(OnTimeDelivery[DayDiff]))
 
Then you should be able to add them to the Values area of your visual.


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...
Anonymous
Not applicable

So the visual is a line and stacked column chart and when I click the Magnify glass it states that analysis can't be done. I also tried the ALL function in the rewritten measures but it kept giving me an error and would not function. If it helps here is kind of more what I am looking for: 

 

InkedBIgausssnip_LI.jpg

 

Sorry, probably:

 

(µ) DayDiff = AVERAGEX(ALL(OnTimeDelivery),[DayDiff])
(σ) DayDiff = STDEVX.S(ALL(OnTimeDelivery),[DayDiff])


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...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.