Forum Discussion
Replace NULL
- 9 years ago
Try this one dude.
Create new calculated column using DAX.
Column = if ( isblank( 'Incidents' [Province]), "Unspecifed" , 'Incidents' [Province])
This willhelp u if not let me know i will help u
- 9 years ago
Alternatively in Power Query you can use Table.TransformColumns, so you don't need a new coumn:
= Table.TransformColumns(Source, {"Province", each if _ is null then "unspecified" else _})
- 9 years ago
Hi COMtrac,
In addition, have you tried the "Replace Values" option within Query Editor? It should also work.:smileyhappy:
1. Select the cell value you want to change(select null in this case) in Query Editor.
2. Click "Replace Values" option under Home tab. Then you should be able to change null to "Unspecified" like below.
Regards
Hi COMtrac,
In addition, have you tried the "Replace Values" option within Query Editor? It should also work.:smileyhappy:
1. Select the cell value you want to change(select null in this case) in Query Editor.
2. Click "Replace Values" option under Home tab. Then you should be able to change null to "Unspecified" like below.
Regards
- AliceW7 years agoPower Participant
Thanks!! I was just leaving the box empty; now that I've written 'null', it works!!
- HarryT6 years agoHelper I
This worked great for me in 2020.
using only the word: null
Much appreciated
- AliceW6 years agoPower Participant
I can confirm that using the word null does the trick.
- JoeLicata2 years agoNew Member
This also works for replace 'error' values as well. Click the drop down and it shows up.
- JoseAndres2 years agoFrequent Visitor
Thanks