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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Not applicable

Adding Weeks to a Month column ?


I would like to :  be able to drill down this chart to Month (below) with the weeks associated.


But my issue is : How can i import the weeks information ? 


I have all the information regarding month and weeks on my table.
But, i only imported the Month : I have filtered only the month so the weeks (S01, S02...S48...) are not there




Initally, i only had column "Date" "Mois" and "Mois_Majuscule" but i added the last 3 columns to make a correlation with weeks




How can i add the weeks information so my Drill Down function with Month and Weeks work ?





Frequent Visitor

Hi @Anonymous 


When you are in PowerQuery you can select the date column you have and use the Add Column menu, Date Options and select "Week of year"


With this new column you can place this under your month on the x-axis and use it for the drill down.



Not applicable


I onlt have weeks from 1 to 45 which so it don't work



Probably because there is only the first of each month at the colum Month ?


Hi @Anonymous 


If you use the Debut_Semaine column to make the week numbers then you should get what you need. 


The other option is you can create a calendar table:


Calendar = CALENDAR(FIRSTDATE([Debut_Semaine]),TODAY())
Then use these dates to create week numbers in the new calendar table and then create a relationship between this date to get the weeknumbers

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors