This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I currently have a custom column for Determining Reporting Location with the following.
[Reporting Location Address1]&", "&[Reporting Location City]&", "&[Reporting Location State]&", "&[Reporting Location Zip Code]
I need to introduce a statement if "Reporting Location is "blank", replace with "Not Specified"
Can I add that to the Custom Column or should I introduce a Conditional Column to accomplish this?
Solved! Go to Solution.
I ended up creating A conditional Column and added a step to replace null with Not Specified. I will try Merge Columns ion my next one.
I ended up creating A conditional Column and added a step to replace null with Not Specified. I will try Merge Columns ion my next one.
Hi,
I think you should do this in the Query Editor. Use the Merge columns feature there.
The original Custom Column returns a null value, which shows up using term Blank in the visual.
Hi @bdehning
You can add this as a custom column using the following code:
IF([CustomCol1] = BLANK(),"Not Specified",[CustomCol1])
It keeps saying error on the IF and not recognized.
IF([Reporting Location] = BLANK(), "Not Specified", [Reporting Location])
Hi @bdehning
Does your Reporting Location column return the a blank name or the actual text "Blank"?
If you following these steps you should get your desired outcome:
If your column returns text "Blank" then use:
IF([Reporting Location] = "Blank", "Not Specified", [Reporting Location])
If the cell value is empty then use:
IF([Reporting Location] = BLANK(), "Not Specified", [Reporting Location])
It should look like this:
If it is still returning an error could you please post a picture of your calculated column with the error message.
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.
| User | Count |
|---|---|
| 33 | |
| 25 | |
| 23 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 27 | |
| 22 | |
| 22 |