【发布时间】:2021-08-19 08:08:09
【问题描述】:
我在计算矩阵中的差异时遇到了一个问题。例如, 在下图中,您可以看到空白处,差异为 0,而应该为 3。我使用以下公式计算差异:
Diff =
CALCULATE (
DISTINCTCOUNT ( 'Question and Answer'[Respondent ID] ),
FILTER (
'Question and Answer',
'Question and Answer'[Start Date] = MAX ( 'Question and Answer'[Start Date] )
)
)
- CALCULATE (
DISTINCTCOUNT ( 'Question and Answer'[Respondent ID] ),
FILTER (
'Question and Answer',
'Question and Answer'[Start Date] = MIN ( 'Question and Answer'[Start Date] )
)
)
任何帮助将不胜感激。谢谢!
【问题讨论】:
标签: powerbi difference