Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
27 | |
12 | |
11 | |
10 | |
6 |