Forum Discussion
DAX Involving TRUE/FALSE Column
- 8 years ago
Hi nirvana_moksh,
Maybe you need something similar to below. Here [Column1] comtains 'TRUE/FALSE' data type values.
New column = IF ( Table[Column1] = TRUE (), 1, 0 )
Regards,
Yuliana Gu
Hi,
Your question is not clear. Show a dataset and the expected result.
So I was using a calculated IF statement and it was using a column which was 'TRUE/FALSE' data type and for some reason the DAX did not recognize that and I had to convert that column to Text for it to work
- v-yulgu-msft8 years agoMicrosoft Employee
Hi nirvana_moksh,
Maybe you need something similar to below. Here [Column1] comtains 'TRUE/FALSE' data type values.
New column = IF ( Table[Column1] = TRUE (), 1, 0 )
Regards,
Yuliana Gu
- NKL3 years agoFrequent Visitor
This actually is not allowed in my case because a single value for the TRUE/FALSE data type field "Active Schedule" cannot be determined
Can you figure out why it is not working?
- Smamwise2 years agoFrequent Visitor
You might be trying to create a measure. Try a calculated column instead.