Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |