Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
Anonymous
Not applicable

Constant Line in 100% Stacked Charts

How can I reorder the 3 lines - in progress/ in time/ overdue. That in time is on the bottom- overdue in the middle and in progress on the Top.

PBI - reorder of a 100pct stacked chart.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

No directy way to do it. 

 

Is your compliants field is a calculated column? If it is, you can try the following workaround.

 

Example below:

 

Say you need to change the Gender order from F -> M to M -> F and Gender info is stored in a calcuated column.

2018-10-24_16-40-43.png

 

 

Select Enter Data to create a new Gender Table with an Order column that mark the order of M is higher than F.

2018-10-24_16-44-23.png

 

 

Save the table and then create relationship between this new Gender table with the original table.

2018-10-24_16-45-29.png

 

 

After that, go to the new Gender table, select Gender column and then select Sort by Column and choose by Order column.

2018-10-24_16-46-42.png

 

 

Then go back to your report, use the Gender column from the new Gender table to replace the original gender column.

2018-10-24_16-48-37.png

 

 

This time you can get the new order.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

No directy way to do it. 

 

Is your compliants field is a calculated column? If it is, you can try the following workaround.

 

Example below:

 

Say you need to change the Gender order from F -> M to M -> F and Gender info is stored in a calcuated column.

2018-10-24_16-40-43.png

 

 

Select Enter Data to create a new Gender Table with an Order column that mark the order of M is higher than F.

2018-10-24_16-44-23.png

 

 

Save the table and then create relationship between this new Gender table with the original table.

2018-10-24_16-45-29.png

 

 

After that, go to the new Gender table, select Gender column and then select Sort by Column and choose by Order column.

2018-10-24_16-46-42.png

 

 

Then go back to your report, use the Gender column from the new Gender table to replace the original gender column.

2018-10-24_16-48-37.png

 

 

This time you can get the new order.

Anonymous
Not applicable

refer to below link - last 3 posts in that thread

 

https://community.powerbi.com/t5/Desktop/stacked-graph-order/td-p/222496

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.