Difference between CALCULATE(m, x=red) vs CALCULATE(m, KEEPFILTERS(x=red))
问题 What is the difference between CALCULATE(m, x=red) and CALCULATE(m, KEEPFILTERS(x=red)) Apparently they are not the same. I found docs and explanation but I still do not get it. https://docs.microsoft.com/en-us/dax/keepfilters-function-dax https://dax.guide/keepfilters/ 回答1: It is helpful to understand a bit more about how simple predicates in CALCULATE are evaluated. The following two expressions are equivalent; in fact, the first is just syntactic sugar for the second - the former is