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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Super User
Super User

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

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

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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