Notifications
Announcements
Hi
I have a bar graph, u ll see below: It shows mixed positions. Longs Shorts..
I wanna sort bars from tall to short , How can i do, Thank you
I wanna sort bars first: 193, 169, 132.2 and 29
Hello @mhorzum ,
Have you tried "Sort()"?
https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-sort
With({_items: Filter('sharepointdb';Created>=DatePicker1.SelectedDate)}; AddColumns( GroupBy( AddColumns( _items; "User"; 'Created By'.DisplayName ); "User"; "MGroup" ); "Total Hours"; Sum( MGroup; THours ) ) )
I m using this code for bar graphs. I tried sortbycolumn but every time i took a fault.
"With()" works with the expectation you're working on a single record.
Beside, I don't think you need "With()" here? You should be able to input the "Filter()" inside your formula without breaking anything, then encase the whole formula inside "Sort()".
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268