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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Palen
New Member

Percentage per month calculation

Hi All, 

I have a table which tracks how many records an employee works on. I have a slicer which applies time periods to the table. 

Eg) Slicer is June 2024

Table:

Person A: 3 items (by distinct count of ID)

Person B: 3 items (by distinct count of ID)

Person C: 4 items (by distinct count of ID)

How do i create a measure which will return 30% for person A and B and 40% for person C. The measure must update if the slicer changes. I am basically trying to achieve the following:
%per member = items per member(in month)/total number of items(in month)

 

1 ACCEPTED SOLUTION
sjoerdvn
Super User
Super User

You haven't shared anything about your model, but it should look something like below.

 

% per member = DIVIDE(
  DISTINCTCOUNT(fact_employee_work[ID])
  ,CALCULATE(DISTINCTCOUNT(fact_emloyee_work[ID]), ALL(dim_employee))
)

 

View solution in original post

1 REPLY 1
sjoerdvn
Super User
Super User

You haven't shared anything about your model, but it should look something like below.

 

% per member = DIVIDE(
  DISTINCTCOUNT(fact_employee_work[ID])
  ,CALCULATE(DISTINCTCOUNT(fact_emloyee_work[ID]), ALL(dim_employee))
)

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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