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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tosuns
New Member

Date format - week.year

Hello,
I have to make a report in which dates must filtered on 16 last weeks. But the format of my dates is:
WeekNumber.Year : 01.2019, for the first week of 2019.

This column format is text and I cannot transform it on date table and also cannot filter on 16 last weeks.

Need your helps !
Thanks in advance
1 REPLY 1
judspud
Solution Supplier
Solution Supplier

Hi @tosuns 

 

You could add extra columns to the data table which splits it up into week and year using the left and right functions.

 

You can then use these values to filter by the last 16 weeks etc.

 

Hope this helps

 

Thanks,

George

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.