Forum Discussion
Anonymous
6 years agoNot applicable
Conditional column with does NOT include and OR criteria
Hello, what is the best way to set up a conditional column in the following scenario: COLUMN DESIRED OUTCOME (isolate all 'C') A. Red, A.Green, A. Violet, B. Pink, C. Brown C. Brown ...
v-xuding-msft
6 years agoCommunity Support
Hi Anonymous ,
Sorry for late back. Have you resolved the problem? If not, please try like this:
IsFiltered =
IF (
SUMX (
RawMat;
FIND ( RawMat[Raw Materials]; MAX ( 'Sheet1 (2)'[Product Lev 1] );; 0 )
) > 0;
"True";
"False"
)
Anonymous
6 years agoNot applicable
Hi v-xuding-msft ,
thanks - I just tried it. Still same problem, does not work because SUMX cannot work with boleeans. Strange since in the example in the video you shared with me, that is exactly what they seem to be doing....
- v-xuding-msft6 years agoCommunity Support
Hi Anonymous ,
I create a new sample to test that formula. It works fine. I think the error in your report might be caused by the position of parentheses. Maybe ">0" is contained in the function of SUMX. You could format it using the tool of DAX Formatter by SQLBI firstly. http://www.daxformatter.com/
And please share a few screenshots. We will understand clearly.