对堆积面积图 Power Bi 中的图例进行排序 [英] Sort on legend in Stacked Area Chart Power Bi

查看:197
本文介绍了对堆积面积图 Power Bi 中的图例进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Power BI 上使用堆栈图表,我使用年份作为 x 轴,组作为图表中的图例,工作订单的百分比作为值.我也有组的排序顺序,但很难根据组排序对图例进行排序.现在,Legends 没有按排序顺序出现.

I am using Stack chart on Power BI, I have used Year as x-axis, Group as legend in my graph and % of Work Order as value. I have Sort order of group as well but struggling to sort legends based on Group Sort. Now Legends are not coming in sort order.

推荐答案

请按照以下步骤操作-

  1. 转到模型窗口并选择表格
  2. 现在选择您的列
  3. 最后,使用列 Group Short 对列进行排序,如下面的示例图片所示-
  1. Go to the Model window and select the table
  2. Now select your column Group
  3. Finally, sort the column using column Group Short as shown in the sample image below-

这应该根据您的要求订购-

This should order as per your requirement-

这篇关于对堆积面积图 Power Bi 中的图例进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆