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
Anonymous
Not applicable

Convert Fiscal Year, Quarter, Week from String to Date Format

Is there a way where I can easily convert my fiscal year, quarter, week columns with string values into a date format? Im trying to achieve this Create a relative date slicer or filter in Power BI - Power BI | Microsoft Learn

 

Table below show the example valeus of what my columns look like

FiscalYearFiscalQuarterFiscalWeekQuarterWork Week
202032021_3620Q3W36
202212022_0122Q1W01
202342023_5123Q4W51

 

1 ACCEPTED SOLUTION
6 REPLIES 6
Ahmedx
Super User
Super User
Ahmedx
Super User
Super User

Screen Capture #734.png

Ahmedx
Super User
Super User

Is this what you are looking for?

Screen Capture #732.png

Anonymous
Not applicable

This is exactly it. How can i achieve that?

Ahmedx
Super User
Super User

do you have a calendar?

one more question, what month does the calendar year start from?

Anonymous
Not applicable

I do have a calendar made by @KNP in Solved: Creating a Fiscal Calendar with 52 Weeks - Microsoft Power BI Community. However, his power query code needs to be adjusted such as inputting the years with 53 weeks in a Fiscal Calendar. I want a calendar that can automatically detect years with 53 weeks (e.g. 2007, 2012, 2018) so I thought of just converting my data into a date format rather than creating a new calendar.

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.