Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Team,
Need to create a view that determines how many days in a week the employees prefer to come office.
Below is the sample data set.
Required View
For below Ex: Total employees 110,650 came to the office for the given period and below are the number of days in a week they prefer to come to office. The below view shows most of the employees for the selected period, most of them pefer to come 1, 2 and 3 days in a week and less prefer for 4 to 7 days a week
Thanks,
Vishant
@aj1973 - Its not the count by weekdays, but mention how many are coming 1 day, 2 days, 3 days, 4 days, 5 days, 6 days and 7 days in a week.
For Ex: if I select the data set for a period 1st July to 30th Nov 2023. I need to know for this selected period.
Hoe prefer to come 1 day, 2 days , 3 days 4 days and 5 days
Regards,
Vishant
Hello,
Here is the solution I propose:
1-Create a calculated column to extract the start of week for the date
2-Create a calculated column to calculate the number of rows for that employee within that week (that should be the number of days that the employee came to the office):
With those columns you should be able to represent this in a chart and shoud look like this:
If I answered your question, please mark this thread as accepted
@gadielsolis - Thank You for your response, please if possible can you share this pbix file.
Thanks,
Vishant
Sure, here you have the link so you can donwload the file https://drive.google.com/file/d/161ocw7Q-Pn7DKX567ono3aRFIgHf6Tki/view?usp=sharing
If I answered your question, please mark this thread as accepted
Hi @toovishant
Is this what you want to see?
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.