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
aishak12
Helper IV
Helper IV

Distinct count and find average

All,

 

I have two tables. I would like to create a visual that counts the total number of employees who came in on each specific day. 


For example this is my dataset. Now I want to plot a chart that shows the weekdays (MON-SUN) and on my thursday bar it should show total count of 3. 

(August 17th, 2023) - Thursday - Employee ID: 1027

(August 24th, 2023) - Thursday - Employee ID:1027

(August 31st, 2023) - Thursday - Employee ID: 1028



 

Table A)

- List of employees who came into office 

aishak12_0-1691332984207.png

 

 

Table B)

- Max Capacity of seats in office 

aishak12_1-1691333023372.png

 

 

Also I would like to divide the total numbers of employees attending (the 3 in my example) by the "HEADCOUNT". So am I able to divide these even though they are different tables? 

1 REPLY 1
v-eqin-msft
Community Support
Community Support

Hi, @aishak12 

 

Based on the data you provided, what would you expect the output to be? Can you provide more sample data and give examples of the results? Sensitive data can be removed in advance or represented in code.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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