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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.