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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.