本文介绍了PowerBI区分空白值和0值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

当我使用if语句进行测试时,是否有办法区分列中的空白值和列中的0值?有什么建议吗?

Is there a way to differentiate between a blank value in a column and a 0 value in a column, when I tested with an if statement they were treated as the same value... any suggestions?

推荐答案

是的.在计算列中,首先测试一个空白值,然后测试零良性:

Yes, there is. In a calculated column, first test a value for being blank, then test for beign zero:

因此,创建一个标记并通过它过滤您的总和度量,即

So, create a flag and filter your sum measure by it, i.e,

No blanks sum = CALCULATE( SUM(Table[Amount]), Test <> "Blank")

这篇关于PowerBI区分空白值和0值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 01:09