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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
joanperez
Advocate II
Advocate II

How to Construct a Relative Frequency Distribution (percentage distribution) on Power BI?

How to Construct a Relative Frequency Distribution on Power BI?

 

Frequency of a class divided by total frequency of all classes is called relative frequency.  Relative frequency is expressed in term of percentage therefore it also known as percentage distribution.

 

Scenario:

 

Using Power BI, we want to design a Relative Frequency Distribution for the Time to Fulfillment for a "Work Orders" process.

“MasterWO” table

 

2016-08-10_16-06-00.jpg

 

 

We need to create the following Measure on Power BI:

  1. Total Work Order = SUM(MasterWO[Work Order])
    The Sum of all work orders
  1. Average Time for Fulfillment (hrs) = AVERAGEX(MasterWO,MasterWO[TimeForFulfillment (Hrs)])
    The Average time for fulfillment the works orders 
  1. Relative Frequency = (SUMX(MasterWO,MasterWO[Work Order])) / (CALCULATE(SUM(MasterWO[Work Order]),ALL(MasterWO[Time to Completed])))
    The Relative Frequency for work order arrange by the “Time to Completed”

Power BI Visualization:

 

2016-08-10_16-04-13.jpg

2016-08-10_16-04-25.jpg

 

 

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee

@joanperez

 

The measures should work. It seems that you've answered the question by yourself, is there any problem?

Right ... The reason for the post is that I received many request for how to customize statistical process in Power BI. Here, I show a scenario of Relative Frequency Distribution.

@joanperez

 

Great. Thanks for sharing.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.