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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Qmars007
Frequent Visitor

Date format issue

Hi, 
I hope some experts help me with a date format issue. 
The format of my date column on the data source, an excel file, is Q1 20/21, Q2 20/21, Q3 20/21, Q4 20/21, Q1 21/22..... So when I import the flat file into Power BI, the quarterly KPIs are not synchronised as the date format is in text format.
I would like to know the best solution to overcome this date format so that my quarterly KPIs for each quarter be shown correctly.
Best,
Qmars

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Qmars007 ,

You cann't change the quarter to date format, as in all the date formats, there isn't one format for showing quarters.

vkalyjmsft_0-1647415152106.png

For your calculate purpose, you can create a calculated column in the table contains date, like this:

Qtr =
"Q" & QUARTER ( [Date] ) & " "
    & FORMAT ( [Date], "YY" ) & "/"
    & FORMAT ( [Date], "YY" ) + 1

Then the quarter relates to date, and can also relates to the quarterly KPIs.

vkalyjmsft_1-1647415694064.png

Best Regards,
Community Support Team _ kalyj

If this post helps, then please considerAccept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Qmars007 ,

Based on Month start date , create a date , Assume FY start from Jan

Date = Eomonth(date(mid([FY Qtr],4,2), 4,1)  , (mid([FY Qtr],1,1)-1)*3 )

 

Then you can use time intelligence

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.