Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Field parameter set up here using Year & Month and Hour. Both of these are from a table built using DAX.
Currently you can see that Y&M runs in sequence November to May, but then when I switch to Hour, the sort changes to total and switching back to Y&M also changes the sort from sequence in month to high to low.
Anyone know how to fix this?
Solved! Go to Solution.
I managed to solve this in two ways.
In my time table I added an hourkey and in the Hour Bucket sorted by hourkey
In the calendar table, I added a new line as Year & Month Key and I used this to sort Year & Month with the new key.
HI @SC07
This is indeed an annoying side effect of using a field parameter to select the field(s) used on an axis.
The "Sort axis"settings for the chart unfortunately reset whenever the field is changed.
One fix I have applied in the past is to:
Max DateTime = MAX ( YourTable[DateTime] )Do Month and HourBucket come from the same calculated table you mentioned? If so, it should be straightforward to create an appropriate measure.
I realise that adding the measure as a Tooltip field may "disrupt" the tooltip, in which case you could either disable tooltips or use a report page tooltip.
Does something like this work for you?
I managed to solve this in two ways.
In my time table I added an hourkey and in the Hour Bucket sorted by hourkey
In the calendar table, I added a new line as Year & Month Key and I used this to sort Year & Month with the new key.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 26 | |
| 24 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 54 | |
| 49 | |
| 41 | |
| 32 | |
| 22 |