The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi!
I have a dynamic text column containing Month + Year (6 previous moths data).
The column is current being sorted as text by month name.
How can I sort it by Year - Month? I have no other date column to sort it by.
Many thanks in advance!
Solved! Go to Solution.
Step 1
Create a duplicate column
Step 2
Replace Mars with Mar, Februari with Feb so on
Now you get a date column with Step 2, now sort on this
Regards,
Ritesh
Step 1
Create a duplicate column
Step 2
Replace Mars with Mar, Februari with Feb so on
Now you get a date column with Step 2, now sort on this
Regards,
Ritesh
try to create one calculated column using beolw dax,
Monthyear sort = FORMAT(financials[Date],"YYYYMM")
and then sort the above column by using sortby column option.
Thanks,
Arul
An elegant solution is to create a date bin. You do this by
>>>> how to sort Date (MonthYear column)? - Microsoft Power BI Community
Regards,
Ritesh
Hi, @ribisht17 ! Thanks for you idea! Unfortunately I could change it to a date - the months are in Swedish and it didn't work.