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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello all,
I am trying to do a conditional replace to null and it is not working. Under a specific circumstance an employee ID and his/her supervisor's ID will be the same. In that situation, I want to set the supervisor ID to null. My code is below, but it doesn't work. The only time I can get replacing to null to work is if I enter null directly into the Replace values... dialog box from the context menu right clicking on the column name. I need it to work dynamically as below.
Solved! Go to Solution.
I got it to work. I forgot that you have to use ReplaceValue instead of ReplaceText.
Replacer.ReplaceValue instead of Replacer.ReplaceText
I got it to work. I forgot that you have to use ReplaceValue instead of ReplaceText.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |