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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.