Power BI Pivot Colums to Rows

时间:2016-11-07 19:18:36

标签: reporting powerbi

Power BI的新功能,并尝试将子标头旋转到行。目前我有这个......

enter image description here

我需要"实际"并且"明确"列显示为这样的行......

enter image description here

我尝试使用矩阵可视化来调整列,行和值,但到目前为止还没有运气。这就是我生成第一个矩阵......

enter image description here

这是我找到答案的最接近的

https://community.powerbi.com/t5/Desktop/Value-Headers/m-p/65124

1 个答案:

答案 0 :(得分:1)

我会在Edit Queries窗口中重新整形数据。我会选择实际明确列,然后选择Unpivot Columns。

返回矩阵,您可以使用生成的属性字段(或您重命名的任何字段)作为 Hotels 字段下的嵌套行,以及生成的< strong>值字段作为值。