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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors