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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Snowdog1748
Regular Visitor

distinct count of mutiple events (daily) as one event per day

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   
Eventpersonday Output
1AMonday Day# of persons
2BMonday Monday2
3AMonday Tuesday2
4BTuesday Wednesday2
5BTuesday Friday3
6CTuesday   
7AWednesday   
8AWednesday   
9CWednesday   
10AWednesday   
11AFriday   
12BFriday   
13BFriday   
14CFriday   
1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Write a new measure: 

 

# of persons = DISTINCTCOUNT ( data[person] )

 

Then pull the day from your data table and the new measure into a visual

 

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

Write a new measure: 

 

# of persons = DISTINCTCOUNT ( data[person] )

 

Then pull the day from your data table and the new measure into a visual

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.