Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
So here is a few pictures related to the issue i am having.
The first picture is the visual issue:
The months go in Alphabetical order instead of chronological.
Dax measure for rolling column is:
Solved! Go to Solution.
Hi @Anonymous ,
This error occurs because the value of [Month Year sort] in a [Rolling] column exceeds 1 value, for example, there are 23 "1"s in an "Out of Date" in your visual object, resulting in Power bi don't know which one to use.
You need to find something to order by that has the same granularity as [Rolling], for example: the format of January is 1, and there will be errors in sorting. We can use the combination of Month and Day, so you can sort normally.
This is the content of the same error, I hope it helps you:
https://community.powerbi.com/t5/Desktop/Date-table-can-t-sort-other-columns-by-date-Getting-error/td-p/1092086
https://community.powerbi.com/t5/Desktop/Sort-by-Quarter-not-Working-with-an-Index/td-p/1236234
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
This error occurs because the value of [Month Year sort] in a [Rolling] column exceeds 1 value, for example, there are 23 "1"s in an "Out of Date" in your visual object, resulting in Power bi don't know which one to use.
You need to find something to order by that has the same granularity as [Rolling], for example: the format of January is 1, and there will be errors in sorting. We can use the combination of Month and Day, so you can sort normally.
This is the content of the same error, I hope it helps you:
https://community.powerbi.com/t5/Desktop/Date-table-can-t-sort-other-columns-by-date-Getting-error/td-p/1092086
https://community.powerbi.com/t5/Desktop/Sort-by-Quarter-not-Working-with-an-Index/td-p/1236234
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Error message when sorting rolling column
also I have got an order now but im having to show the months twice
@Anonymous , not sure why it is based on today not on date example
Month Year = FORMAT([Date],"mmm")
Month Year sort = if(month([Date]) >6, month([Date]) -6, month([Date]) +6)
and mark as the sort column .
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
I've added both columns but its still not sorting the matrix
also this is a selection of the data which is relevant to the table
plus the date table
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 33 | |
| 33 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 45 | |
| 30 | |
| 26 |