简体   繁体   English

表中表 | Power BI 报表生成器

[英]Table within a Table | Power BI Report Builder

When writing expressions for a row in Power BI Report Builder, things line up just fine until you get data that is a lot of text.在 Power BI 报表生成器中为一行编写表达式时,一切都会很好地排列,直到您获得包含大量文本的数据。

This is a prime example这是一个很好的例子

在此处输入图片说明

I have 'cangrow' to true on all of my individual cells as well as the row group / row itself.我将所有单个单元格以及行组/行本身的“cangrow”设为 true。 Nothing seems to fix this.似乎没有什么可以解决这个问题。 Is there any way to do this so the rows expand accordingly?有什么办法可以使行相应地扩展吗?

Ideally, I'd something like this.理想情况下,我会做这样的事情。

在此处输入图片说明


EDIT: I believe the real problem is that I wasn't using a subtables because subtables look really bad when there are column groupings that block the merging of cells.编辑:我相信真正的问题是我没有使用子表,因为当存在阻止单元格合并的列分组时,子表看起来非常糟糕。

I'm now trying to find a way to basically add a completely separate table beneath the top table but still connected to be reported each match.我现在试图找到一种方法,基本上在顶部表格下方添加一个完全独立的表格,但仍然连接以在每次匹配时报告。 First step would be find a way to have a separate data source in the subtable.第一步是找到一种在子表中拥有单独数据源的方法。 Step two would be to allow the formatting of the subtable without the structure of the first.第二步是允许子表的格式设置,而不需要第一个的结构。

I can't extend the subtable to the final column because of a required column group.由于必需的列组,我无法将子表扩展到最后一列。 And my expressions can't really do what I need them to without changing the dataset to something other than the main table.如果不将数据集更改为主表以外的其他内容,我的表达式就无法真正满足我的需要。

Thanks for the help!谢谢您的帮助!

在此处输入图片说明

在此处输入图片说明


FINAL EDIT 2:最终编辑 2:

1) To resolve the separate dataset problem, I had to write a disgusting query to join the two sets I was using into one. 1)为了解决单独的数据集问题,我不得不编写一个令人厌恶的查询来将我使用的两个集合合并为一个。 I'm not sure there is a way to do that with Power BI Report Builder, although there should be.我不确定 Power BI Report Builder 有没有办法做到这一点,尽管应该有。

2) I had to put the two separate tables into a list so they would be okay with formatting. 2)我不得不将两个单独的表格放入一个列表中,这样它们就可以格式化了。

Got my problem solved, but in a round about way.解决了我的问题,但以一种全面的方式解决了。

1) To resolve the separate dataset problem, I had to write a disgusting query to join the two sets I was using into one. 1)为了解决单独的数据集问题,我不得不编写一个令人厌恶的查询来将我使用的两个集合合并为一个。 I'm not sure there is a way to do that with Power BI Report Builder, although there should be.我不确定 Power BI Report Builder 有没有办法做到这一点,尽管应该有。

2) I had to put the two separate tables into a list so they would be okay with formatting. 2)我不得不将两个单独的表格放入一个列表中,这样它们就可以格式化了。

Got my problem solved, but in a round about way.解决了我的问题,但以一种全面的方式解决了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM