Forum Discussion
WJ876400
6 years agoHelper IV
If statement with different data types
Hi I want to create a new column or measure that looks at two colums with different data types and returns a value. I want to re create the below. The start year is TEXT and the progression T...
- Anonymous6 years ago
WJ876400 You are missing second argument of format function
try this
IF(learners[ACADEMIC START YEAR]="2016-2017","NA",FORMAT(Learners[OJT_Target.CURRENT OJT TARGET],""))
Anonymous
6 years agoNot applicable
Column = IF('Table'[Start Year]="2016/17","NA",FORMAT('Table'[Progression Target],""))WJ876400
6 years agoHelper IV
Hi Anonymous i tried that but get the following error
- Anonymous6 years agoNot applicable
WJ876400You forgot the "" in the FORMAT function second argument.
- Anonymous6 years agoNot applicable
WJ876400 You are missing second argument of format function
try this
IF(learners[ACADEMIC START YEAR]="2016-2017","NA",FORMAT(Learners[OJT_Target.CURRENT OJT TARGET],""))
- WJ8764006 years agoHelper IV
thanks very much that worked