The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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)
Solved! Go to Solution.
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))
)
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))
)
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |