cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Power query + json + boolean + replacing error

So i imported this data into Power BI by using a query from Azure once I got the data, a column was a JSON type, after I expanded it, one the columns resulting from this expansion turned out to be a boolean type, only true and false values admits but the original missing values now they show as errors when I try to replace those errors with either "NA" or just a blank " ", it won't let me because only admits TRUE OR FALSE.

 

What would be the best way to solve this issue I have? 

 

I would appreciate so much your experience and expertise on the matter.

 

One more thing: ignore the Label "Data Protection" i just chose that one because it wouldn't let me choose the one I wanted.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IX
Super User IX

Re: Power query + json + boolean + replacing error

@berosuna - Try inserting a step where you change that column to be text instead of boolean.

---------------------------------------

Not link spamming! If I posted a link in reply it is because I did assume you know how to search the web but thought it was the fastest way to fix your issue.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Highlighted
Super User IX
Super User IX

Re: Power query + json + boolean + replacing error

@berosuna - Try inserting a step where you change that column to be text instead of boolean.

---------------------------------------

Not link spamming! If I posted a link in reply it is because I did assume you know how to search the web but thought it was the fastest way to fix your issue.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Highlighted
New Member

Re: Power query + json + boolean + replacing error

Thanks Greg!! you ROCK!!

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Don't miss the Power BI Dev Camp this week!

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors