Power BI – 显示层次/分组数据

huangapple go评论87阅读模式
英文:

Power BI - Show hierarchical/grouping data

问题

我想查看在Power BI中是否有可能有一个小部件,显示一行中的“常见”数据,然后在其他行中显示“区分”数据。

例如,假设我想显示一份电视节目清单。在每个电视节目下面,我想显示关于每个季节的数据。因此,数据可能如下(我没有填写所有数据,只是为了展示一个示例):

电视节目标题 播放频道 类型 季节数 季首播集标题
绅士迷 AMC 时代剧 1 迷烟四溅
绅士迷 AMC 时代剧 2 为那些年轻人而战
权力的游戏 HBO 奇幻 1 冰与火降生
权力的游戏 HBO 奇幻 2 北国记忆

我想显示类似这样的数据:

电视节目标题 播放频道 类型 季节数 季首播集标题
+/- 绅士迷 AMC 时代剧
1 迷烟四溅
2 为那些年轻人而战
+/- 权力的游戏 HBO 奇幻
1 冰与火降生
2 北国记忆

起初,我以为可以使用矩阵,但它似乎不按我希望的方式工作。

有什么建议吗?

英文:

I'm looking to see if it's possible in Power BI to have a widget that shows "common" data in one row, then "differentiating" data below it in other rows.

For example, let's say I want to show a list of TV shows. And below each TV show, I want to show data about each season. So data might look like (I'm not filling out all of the data, just enough to show an example):

TV Show Title Broadcaster Genre Season # Season Premiere Episode Title
Mad Men AMC Period Drama 1 Smoke Gets in Your Eyes
Mad Men AMC Period Drama 2 For Those Who Think Young
Game of Thrones HBO Fantasy 1 Winter is Coming
Game of Thrones HBO Fantasy 2 The North Remembers

I want to show the data that looks kind of like this:

TV Show Title Broadcaster Genre Season # Season Premiere Episode Title
+/- Mad Men AMC Period Drama
1 Smoke Gets in Your Eyes
2 For Those Who Think Young
+/- Game of Thrones HBO Fantasy
1 Winter is Coming
2 The North Remembers

At first I thought I could use a matrix, but it doesn't seem to work that way I hoped.

Suggestions?

答案1

得分: 1

像这样?

Power BI – 显示层次/分组数据

Power BI – 显示层次/分组数据

如果是这样的话,请在选项中关闭阶梯布局。

Power BI – 显示层次/分组数据

我的数据看起来像这样

Power BI – 显示层次/分组数据

Power BI – 显示层次/分组数据

英文:

Like this?

Power BI – 显示层次/分组数据

Power BI – 显示层次/分组数据

If so, turn stepped layout off in the options.

Power BI – 显示层次/分组数据

My data looks like this

Power BI – 显示层次/分组数据

Power BI – 显示层次/分组数据

huangapple
  • 本文由 发表于 2023年2月14日 02:17:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/75439769.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定