Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a table with multiple lines per day. each line has a unique ID number. There are varible persons overseeing these events each day. I would like to create a measure that provides the output below - Example:
Data | |||||
Event | person | day | Output | ||
1 | A | Monday | Day | # of persons | |
2 | B | Monday | Monday | 2 | |
3 | A | Monday | Tuesday | 2 | |
4 | B | Tuesday | Wednesday | 2 | |
5 | B | Tuesday | Friday | 3 | |
6 | C | Tuesday | |||
7 | A | Wednesday | |||
8 | A | Wednesday | |||
9 | C | Wednesday | |||
10 | A | Wednesday | |||
11 | A | Friday | |||
12 | B | Friday | |||
13 | B | Friday | |||
14 | C | Friday |
Solved! Go to Solution.
Write a new measure:
# of persons = DISTINCTCOUNT ( data[person] )
Then pull the day from your data table and the new measure into a visual
Write a new measure:
# of persons = DISTINCTCOUNT ( data[person] )
Then pull the day from your data table and the new measure into a visual