幂双矩阵 Table "Go to the next level in hierarchy (Button)"
Power Bi Matrix Table "Go to the next level in hierarchy (Button)"
我在向下钻取 Metrix 时遇到问题 table 根据我的数据,"Go to the next level in the hierarchy (button)" 对我来说没有任何意义。
这是我的数据的样子。
这是我的矩阵 Table 的默认结果。
这是层次结构的 1 级结果。
这是层次结构的第 2 级结果。
这是层次结构的第 3 级结果。
通过使用 "Go to the next level in the hierarchy (Button)" 它只是根据我们的数据按年、月和日将所有值相加,我想使用 "Config" 列作为主要列进行向下钻取。
例如
Level 1
config 1
Year 2016 all values
Year 2017 all values
Level 2
config 1
Year 2016
Month August all values
Month December all values
Year 2017
Month August all values
Month December all values
Level 3
config 1
Year 2016
Month August
Day 1 all values
Day 2 all values
Month December
Day 1 all values
Day 2 all values
Year 2017
Month August
Day 1 all values
Day 2 all values
Month December
Day 1 all values
Day 2 all values
So on config 2,3,4,5,6,7,8,9,10
之前我发布了一个关于禁用 "Go to the next level in the hierarchy (Button)" 或删除的问题,根据我收到的答案,它是无法删除或禁用的内置功能。
这是 Matrix table "Expand all down one level in the hierarchy (Button)",它确实完美地满足了我的目的。
有什么方法可以使用 "Go to the next level in the hierarchy (Button)" 进行深入研究,并且可以获得与
"Expand all down one level in the hierarchy (Button)"。或者如果您有任何其他建议,我将非常感激。
您观察到的行为是 Go to the next level in the hierarchy
和 Expand all down one level in the hierarchy
按钮的普通行为。所以自然的答案是用后者代替前者。
就是说,如果您想创建一个用户可以使用 Go to the next level in the hierarchy
按钮并获得所需结果的层次结构,那么您应该添加一些计算列:
Hierarchy Lvl 1 = [Config] & " - " & [Date].[Year]
Hierarchy Lvl 2 = [Config] & " - " & [Date].[Year] & ", " & [Date].[Month]
...
您可能还想为这些创建一些排序方式列以确保它们正确显示,例如
Hierarchy Lvl 2 Sort = VALUE([Config] & [Date].[Year] & [Date].[MonthNo])
...
就个人而言,为了避免单击 Expand all down one level in the hierarchy
按钮,这似乎有点费力...
我在向下钻取 Metrix 时遇到问题 table 根据我的数据,"Go to the next level in the hierarchy (button)" 对我来说没有任何意义。
这是我的数据的样子。
例如
Level 1
config 1
Year 2016 all values
Year 2017 all values
Level 2
config 1
Year 2016
Month August all values
Month December all values
Year 2017
Month August all values
Month December all values
Level 3
config 1
Year 2016
Month August
Day 1 all values
Day 2 all values
Month December
Day 1 all values
Day 2 all values
Year 2017
Month August
Day 1 all values
Day 2 all values
Month December
Day 1 all values
Day 2 all values
So on config 2,3,4,5,6,7,8,9,10
之前我发布了一个关于禁用 "Go to the next level in the hierarchy (Button)" 或删除的问题,根据我收到的答案,它是无法删除或禁用的内置功能。
这是 Matrix table "Expand all down one level in the hierarchy (Button)",它确实完美地满足了我的目的。
您观察到的行为是 Go to the next level in the hierarchy
和 Expand all down one level in the hierarchy
按钮的普通行为。所以自然的答案是用后者代替前者。
就是说,如果您想创建一个用户可以使用 Go to the next level in the hierarchy
按钮并获得所需结果的层次结构,那么您应该添加一些计算列:
Hierarchy Lvl 1 = [Config] & " - " & [Date].[Year]
Hierarchy Lvl 2 = [Config] & " - " & [Date].[Year] & ", " & [Date].[Month]
...
您可能还想为这些创建一些排序方式列以确保它们正确显示,例如
Hierarchy Lvl 2 Sort = VALUE([Config] & [Date].[Year] & [Date].[MonthNo])
...
就个人而言,为了避免单击 Expand all down one level in the hierarchy
按钮,这似乎有点费力...