0

我正在尝试创建一个简单的 Power BI 报表以嵌入到应用程序中。此报告的目的是简单地显示通过 Direct Query 传递给它的行。但是,如果我禁用所有列的汇总,则报告会刷新,但不会显示任何数据。对一列重新启用汇总会导致数据重新出现。我不需要对报告进行任何总结,我想知道如何禁用或规避这种行为。

汇总一列的报告

在此处输入图像描述

不汇总一栏的报告

在此处输入图像描述

4

1 回答 1

0

You really need to include key columns of the data feed to be sure you are displaying the rows as they come from the Direct Query. If the data feed doesn't have key columns or an index, you can generate one in SQL. Here's an example from an Oracle DB:

SELECT ROW_NUMBER() OVER (ORDER BY column1)  AS "Index", 
column1, column2, ... columnN from table_name

Including the keys or an index will ensure you see every row in the table.

于 2022-01-06T22:04:25.837 回答