Forum Discussion
IF / OR Statement
- Anonymous8 years ago
Ty this.
Column = IF('AccountAsset-WhiteSpace-GraySpace'[TX]="Current Client" ||'AccountAsset-WhiteSpace-GraySpace'[SC]="Current Client" ||'AccountAsset-WhiteSpace-GraySpace'[RC]="Current Client", "YOUR_VALUE" , BLANK() )You can apply a page filter on this colun for "YOUR _VALUE".
Thanks
Raj
- Anonymous8 years ago
The syntax of IF is not correct. Please check the one i have provided above.
Thanks
Raj
Ty this.
Column = IF('AccountAsset-WhiteSpace-GraySpace'[TX]="Current Client" ||'AccountAsset-WhiteSpace-GraySpace'[SC]="Current Client" ||'AccountAsset-WhiteSpace-GraySpace'[RC]="Current Client", "YOUR_VALUE" , BLANK() )
You can apply a page filter on this colun for "YOUR _VALUE".
Thanks
Raj
I tried this:
Column = if('AccountAsset-WhiteSpace-GraySpace'[TX]="Current Client", 'AccountAsset-WhiteSpace-GraySpace'[SC]="Current Client", 'AccountAsset-WhiteSpace-GraySpace'[RC]="Current Client", "True", BLANK())
but getting the message "Too many arguments were passed to the IF function. The maximum argument count for the function is 3"
- Anonymous8 years agoNot applicable
The syntax of IF is not correct. Please check the one i have provided above.
Thanks
Raj
- Topgunz7861238 years agoRegular Visitor
The syntax your provided above worked perfectly.
Thank you Raj, for all of your help.