简体   繁体   English

power bi DAX度量与日期不符

[英]power bi DAX measure not corresponding against date

I have made a measure as 我已采取措施

CALCULATE((COUNT('Raw Data'[Work Item ID])),'Raw Data'[BWV Footage Available] = "No",'Raw Data'[No BWV Reason] <> "No Reason",'Raw Data'[Month Year Complaint closed] <> blank()) CALCULATE((COUNT('Raw Data'[Work Item ID])),'Raw Data'[可用BWV素材] =“否”,'Raw Data'[无BWV原因] <>“无原因”,'Raw Data '[关闭年度投诉] <> blank())

But when i put this measure in the values against the date, it shows the same value throughout - it doesn't filter corresponding to the date. 但是,当我将此度量值放在相对于日期的值中时,它始终显示相同的值-不会过滤与日期相对应的值。 enter image description here 在此处输入图片说明

Please help 请帮忙

The problem is the Raw Data'[Month Year Complaint closed] <> blank() part in your CALCULATE function. 问题是您的CALCULATE函数中的“ Raw Data'[Month Year Complaint closed] <> blank()部分。 This 'filter' on the [Month Year Complaint closed] column, which returns all rows where this field is not BLANK, overrides the filtering of the same column in your visual ( [Month Year Complaint closed] on rows). [Month Year Complaint closed]列上的“过滤器”会返回此字段不是空白的所有行,它会覆盖可视化中同一列的过滤(行中的[Month Year Complaint closed] )。 Remove this part from your maesure and filter out the Blank row in your visual. 从您的按摩器中删除此部分,并过滤掉视觉中的空白行。

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

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