在Power BI上按日期显示班级百分比

时间:2019-01-15 23:30:31

标签: group-by powerbi

我在Power BI上有下表:

enter image description here

据此,我想按日期绘制每个班级的百分比图,例如

对于12-02-18,有4条记录,分别为3 A和1 C,因此百分比分别为A 75%和C 25%。

到目前为止,我已经按日期和班级分组了,得到了下表:

enter image description here

我在其中进行以下绘制:

每个类都有哪些实际值:

enter image description here

但不是百分比。

1 个答案:

答案 0 :(得分:0)

PowerBI允许您轻松地做到这一点,只需将格式更改为“显示值占总计的百分比”,如下图所示。

percentage of grand total