Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
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.
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.
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.
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
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |