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
andreazambon
Helper V
Helper V

Show data with the month of a filtered week

Hi there. 

Second question of the day... 

I need to filter a week, for example WK49, and in a view I need to see data with the month of the filtered week. 

In this case, If I choose WK49, I need to see the whole data with month = December. 

Possible?

 

Still, I don't know how to manage cases as WK48, which is both in November and December. I have to ask informations to my colleagues 😛

 

Thanks

2 REPLIES 2
Anonymous
Not applicable

Hi @andreazambon ,

 

Here's my solution.

Sample data

vstephenmsft_4-1670911595159.png

Steps:

You can create a calendar with the week numbers. The [sort] column is to sort the [WeekNum] column.

Calendar = ADDCOLUMNS(CALENDAR(DATE(2022,1,1),DATE(2022,12,31)),"WeekNum","W"&WEEKNUM([Date],2),"sort",WEEKNUM([Date],2))

vstephenmsft_0-1670911360425.png

The relationship is as follows.

vstephenmsft_1-1670911398341.png

The week number column of the slicer comes from the calendar table, the main table is the date and value, and when you filter W49, the 49th week of November and December is displayed.

vstephenmsft_2-1670911431824.png

vstephenmsft_3-1670911497231.png

You can check more details from my attachment.

 

 

Best Regards,

Stephen Tao

 

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

Thanks for your answer. 

I need to see the total data from the month. Suppose to have a 

DateWeekValue
06/11/202249100
12/12/202250150
25/11/202247300

 

 

Suppose to choose the WK 49. 

I need to see "December" and value = 250.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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