This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hey
I'm trying to create a line graph with weeks as the xaxis and I want to show the week range + year on the xaxis instead of the week num + year. I've created a week range like this
Solved! Go to Solution.
Thanks for the reply. I've managed to fix it in a pretty convulted way but it works, not sure why but it does.
Just incase anyone has this sort of issue in the future what I done is change my week range column to only be the first date(start of week) as date type and then changed the formula in YearMonthInt dates to come from this new column. Then I've created another column with the First date of the week and sorted it by the new YearMonthInt formula, I haven't done it yet but I'm sure I can then Concatenate the end of the week onto this.
that means in your table, one week range value has more than one corresponding values in yearmonthint.
if you want to sort by another column . There must be one to one relationship between two columns.
Proud to be a Super User!
Thanks for the reply. I've managed to fix it in a pretty convulted way but it works, not sure why but it does.
Just incase anyone has this sort of issue in the future what I done is change my week range column to only be the first date(start of week) as date type and then changed the formula in YearMonthInt dates to come from this new column. Then I've created another column with the First date of the week and sorted it by the new YearMonthInt formula, I haven't done it yet but I'm sure I can then Concatenate the end of the week onto this.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 26 | |
| 23 |