Forum Discussion
Max function not supported sort by in barchart
When I'm trying to create a bar graph with
Reporter name in yaxis and dax formula
Of calculate(max(sales),date>mindare&&date<maxdate) along with quater on legend not able to sort the visual it's showing random sort not exact sort can any one please help
Hi Anonymous ,
You can use the date column to sort it with Quarter column.
Check these links which might help-
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column
https://community.fabric.microsoft.com/t5/Desktop/How-to-sort-by-year-and-quarter/td-p/1121335
Additionally, it would be better if you could provide more context to your exact problem with sample data and expected output so that we can help with the issue.Thanks!
5 Replies
- lbendlin
Super User
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523 - v-sdhruv
Community Support
Hi Anonymous ,
You can use the date column to sort it with Quarter column.
Check these links which might help-
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column
https://community.fabric.microsoft.com/t5/Desktop/How-to-sort-by-year-and-quarter/td-p/1121335
Additionally, it would be better if you could provide more context to your exact problem with sample data and expected output so that we can help with the issue.Thanks!
- v-sdhruv
Community Support
Hi Anonymous ,
Just wanted to check if you had the opportunity to review the suggestions provided?
If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You