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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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 |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |