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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

null

 
7 REPLIES 7
hashtag_pete
Helper V
Helper V

Hello S, 

 

based on our sample with the 5 employees, I have made the following:

Week Number Employees table - Power BI Desktop.pngWeek Number Employees result- Power BI Desktop.png

added to the table a column weeknum and month. I used the formular of WEEKNUM and MONTH, which is explained here:

WEEKNUM – DAX Guide

If this helps, please accept as solution and give kudos. 

Best

hashtag_pete

Ahmedx
Super User
Super User

1) you must create a special calendar
2) for slicing by week you should take column By WEEK
3) for slicing by months you should take column By Month

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26Rh2_eV9t_hUaEIWZ9?e=9cTVtf

Anonymous
Not applicable

null

have you looked at my file?
i did as you asked
I don't have slicers

Anonymous
Not applicable

null

I get the quantity like this, show for the first week of February how much should be

Screen Capture #1035.png

hashtag_pete
Helper V
Helper V

Hello S, 

 

just to clarify your goal: if you have in week6 5 employees coming, one on each day, you would like to count them all for week 6, but if you drill up to the month, they should be 2 in January and 3 in February?

Best 

hashtag_pete

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors