Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi
I have below date table
I created Week End date using this dax measure
Week End Date = 'Date'[Date] - WEEKDAY('Date'[Date],2) + 7
I need to sort the week end date, as I build the bar chart using week end date as an axis but it's not sorted out
Can anyone advise the following?
1) How to sort the week end date?
2) Hot to format week end date into "MM/dd/YYYY"
Solved! Go to Solution.
Hi @bourne2000
Click the End Date column, then change it date type to short date
Then put the column to the axis.
and use the sort function in visual
Output:
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @bourne2000
Click the End Date column, then change it date type to short date
Then put the column to the axis.
and use the sort function in visual
Output:
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Share the download link of the PBI file.
hi @bourne2000
1) try to click the "...", sort by
https://learn.microsoft.com/en-us/power-bi/consumer/end-user-change-sort
2)
try like:
Week End Date = FORMAT('Date'[Date] - WEEKDAY('Date'[Date],2) + 7, "mm/dd/yyyy")
@FreemanZ Thanks. I used the measure and it changed into mm/dd/yyyy. However, it is not sorting. I used sort by but it's not showing correct sort. I have data from 2022 to 2023. It showing mixed axis
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
89 | |
86 | |
82 | |
64 | |
49 |
User | Count |
---|---|
125 | |
111 | |
88 | |
69 | |
66 |