I would like to ascend the data value, number, within each bar graph.
in the picture, it sorts by the alphabet
thank you very much
Note that there is an "i" warning. You are trying to show too much data. Might want to limit it to the top x per date.
Anyway, I don't think the standard stacked bar has the option to sort each individual bar differently. There might be custom visuals out there that do that.
this is published data from a general website.
I will search for custom visuals as you recommend. thank you.
@sittitek , this will sort only on legend inside the bar. If there are more values control it by subtotal rank
For Rank Refer these linkshttps://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measureshttps://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columnshttps://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finalehttps://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
Proud to be a Super User!
Hi @sittitek ,
If you want to sort it by number in the bar chart, you can create a calculated column like this and put it in the legend field:
VAR _date = [Date]
RANKX ( FILTER ( 'Table', 'Table'[Date] = _date ), 'Table'[value],, ASC, DENSE )
Best Regards,Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Check out the on demand sessions that are available now!
Check out the Winners!
Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.