Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
10 | |
9 | |
8 | |
6 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
10 |