Forum Discussion
Anonymous
6 years agoNot applicable
IF statement acting inconsistent, no FALSE option allowed
Hi all! I've got a problem with an if statement that I can't seem to figure out. To make things worse, microsofts own documentation isn't consistent with the behavior of my if statement. Here is th...
- Anonymous6 years ago
Hi,
I also had a similar issue when I was using Direct query mode.
Try the following -
Category1CountWeek =SUMX(VALUES('VBM+Server'[Serial number]), IF(([ProductionCategoryWeek] = "0 - 50"), (1),(0)))
Anonymous
6 years agoNot applicable
Hi,
I also had a similar issue when I was using Direct query mode.
Try the following -
Category1CountWeek =
SUMX(
VALUES('VBM+Server'[Serial number])
, IF(([ProductionCategoryWeek] = "0 - 50"), (1),(0)))
- Anonymous6 years agoNot applicable
Thanks a lot, that worked! I guess everything might need to be in () cause the logical statement is also in ()