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
RB_B_ABI_01
Regular Visitor

Normal Distribution on Aggregated Values using Average for Last 5 Years

Hi All,

 

I am trying to replicate an Exel formula based on Normal Distribution as a Measure in Power BI. In Excel this formula is used on aggregated values of Year and Region.

 

In Power BI I want the formula to work on the unaggregated dataset to avoid having to create and work off a new table.

The formula is as follows:

 

NORMDIST(X, avg(last 5 yrs), SD (last 5 yrs) * 1.5) * 100

Where X is the value I want to see where it sits on the distribution.

 

The data (simplified) is as follows:

 

Record No.CategoryAllocation ApprovalYearRegion
1A1Yes2020South
1B1Yes2020South
2C1No2020North
2D1No2020North
3A1No2022West
3D1No2022West
3E1No2022West

 

 

Records can be assigned multiple categories and these have been pivoted to show one category per row. Because of this the Allocation column is always 1.

 

I would like the equation to be a single measure so I can easily switch between this and the sum of allocation/approval measures I already have.

 

I would want the output to look something like this:

 

YearABCDE
2020 >4356487128
  South2856452458
  North6815474957
  West5758254785
20216250486942
20225647325845

 

 

Thanks in advance!

1 REPLY 1
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

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.

Top Solution Authors