Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a column Churn where the values are Yes/No need to be converted as 1 & 0 (Yes=1 , No=0). Can anyone assist me?
Solved! Go to Solution.
Hi @ch_01
Refer >> How to replace values in power bi (projectpro.io)
Select the columns of the values you want to replace.
Right-click on the data set in the Fields pane, click on the edit query option. This will redirect us to Power Query Editor then follow the below steps -
Transform -> Replace Values button -> Replace Values Option
Replace Yes with 1 and No with 0
After you click on the Replace Values option, a small window gets open where you can replace the old value with the new value.
Click on OK in the Replace Value window, it will replace the old value with the new value. Click on the Close & Apply button in order to apply all changes.
Regards,
Ritesh
Hi @ch_01
Refer >> How to replace values in power bi (projectpro.io)
Select the columns of the values you want to replace.
Right-click on the data set in the Fields pane, click on the edit query option. This will redirect us to Power Query Editor then follow the below steps -
Transform -> Replace Values button -> Replace Values Option
Replace Yes with 1 and No with 0
After you click on the Replace Values option, a small window gets open where you can replace the old value with the new value.
Click on OK in the Replace Value window, it will replace the old value with the new value. Click on the Close & Apply button in order to apply all changes.
Regards,
Ritesh
Thank you
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
97 | |
80 | |
67 | |
63 |
User | Count |
---|---|
147 | |
110 | |
108 | |
85 | |
64 |