Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
The table feeding the line chart's x-axis consists of four columns: SundayDt (date), PYSundayDt (date), SundayDtLabel (text created from the SundayDt formatted as "MM/dd") and DashboardWeek (logical).
Variables in the table (ReportMonth & ReportYear) create a table that has true for a consecutive 4-month range of Sundays and their corresponding Sunday in the previous year.
The data points for the two y-axis ranges are the attendance on each week where DashboardWeek is true for CY & PY.
I've sorted the SundayDtLabel column by the SundayDt column. The x-axis label need to be month and day number (as shown in the image below).
PROBLEM: date labels are not displaying in chronological order.
Solved! Go to Solution.
Hi @newhopepdx,
Thank you for reaching out to the Microsoft fabric community forum. Also, thanks to @Shahid12523, @danextian, for those inputs on this thread. I reproduced the scenario, and it worked on my end. I used my sample data and successfully implemented it.
I am also including .pbix file for your better understanding, please have a look into it:
Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.
Thank you for using the Microsoft Fabric Community Forum.
Hi @newhopepdx,
Thank you for reaching out to the Microsoft fabric community forum. Also, thanks to @Shahid12523, @danextian, for those inputs on this thread. I reproduced the scenario, and it worked on my end. I used my sample data and successfully implemented it.
I am also including .pbix file for your better understanding, please have a look into it:
Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.
Thank you for using the Microsoft Fabric Community Forum.
Thanks that's the trick.
Use SundayDt as the x-axis (continuous).
Create SundayDtLabel = FORMAT([SundayDt], "MM/dd") and set Sort by column → SundayDt.
This way labels show MM/dd, but sort in correct date order.
Hi @newhopepdx
If you have the actula date column, use that instead, go to data format and format the date as MM/dd
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 45 | |
| 38 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 87 | |
| 69 | |
| 38 | |
| 29 | |
| 26 |