Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi,
my name is Filip and I want to change True/False to 1/0 in new column.
But I cant find on the internet code which will work... 😞
Can you help me?
Thank you for help, have a nice day
Solved! Go to Solution.
Hi @FILIPKACZMAR
you can try
new_column =
IF(column_name = TRUE(),1,IF(column_name = FALSE(),0))
Regards
Hi @FILIPKACZMAR
you can try
new_column =
IF(column_name = TRUE(),1,IF(column_name = FALSE(),0))
Regards
Thank you 🙂
You're welcome 😀
User | Count |
---|---|
8 | |
8 | |
5 | |
5 | |
3 |