This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.