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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
RLSid17
Helper III
Helper III

Week Number Date Format


Hi,

Is there a way to format the Week Numbers to Month and Date?

For example, I have 2 slicers which would be Month and Week.

When I select the Month slicer to November, then in the Week slicer it would show the following:

Nov. 7
Nov. 14
Nov. 21
Nov. 28

So it's like showing the start of the week. Currently, I have the slicer for Week Number. I need to be able to show the above results for easy filtering to end users.

I guess the Month doesn't matter as long as it shows the start of the week depending on the date. Also, the Date column comes from multiple datasets so I used the UNION function to gather those into one table.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@RLSid17 , You can use the week start/end date

 

Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1
Week End date = 'Date'[Date]+ 7-1*WEEKDAY('Date'[Date],2)

 

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@RLSid17 , You can use the week start/end date

 

Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1
Week End date = 'Date'[Date]+ 7-1*WEEKDAY('Date'[Date],2)

 

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

I managed to create a calculated column in the Table but this was the result:

RLSid17_0-1669033783475.png


The formula is not following the date format of the Created column which is D/M/YYYY instead it follows M/D/YYYY.

I can't seem to call the Created column in the Measure formula it says that it does not exist.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.