The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have created a new column with this:
Solved! Go to Solution.
Hi @Lunge_PTP ,
You can also use FORMAT for this purpose:
FORMAT('Calendar'[Indbetalingsdato],"YYYY-MM")
Hi @Lunge_PTP ,
You can also use FORMAT for this purpose:
FORMAT('Calendar'[Indbetalingsdato],"YYYY-MM")
Generally I create the Calendar using Power Query. Here you can add a column like this:
Column Name: "YearMonthNo"
Expression
= Text.Combine(
{Date.ToText([Indbetalingsdato], "yyyy"), "-", Date.ToText([Indbetalingsdato], "MM")}))
Go to data view, select your new column, in column tools choose sort by (Date).
Hi @Lunge_PTP
Instead you can duplicate your date column and change its date format directly from ribbon as shown in below screenshot. Since the way you following to create a column actually its converting that column as text and its causing issue while sorting.
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
20 | |
19 | |
18 | |
13 |
User | Count |
---|---|
41 | |
39 | |
24 | |
22 | |
20 |