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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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