Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
aruna_jayapaul
New Member

JSON parsing error msg in Power BI

Hi,

 

I need some assistance in power app. I 'm trying to use power BI measure for the label in Power APP, but the measure is returning a blank value. To address this, I applied some function to convert blank values to Zero.

However after importing the same power app back into Power BI, the zero's are being reverted to blanks again.

This appears to be causing a data type conversion issue, resulting in a JSON parsing error

 

Could someone please advise on how to resolve this?

 

 

Thank you,

Aruna J

1 ACCEPTED SOLUTION
aruna_jayapaul
New Member

Issue got resolved after updating the function like below,

If(IsBlankOrError(First(PowerBIintegration.data).YourMeasure), 0, First(PowerBIintegration.data).YourMeasure)

 

Thank you!

View solution in original post

5 REPLIES 5
aruna_jayapaul
New Member

Issue got resolved after updating the function like below,

If(IsBlankOrError(First(PowerBIintegration.data).YourMeasure), 0, First(PowerBIintegration.data).YourMeasure)

 

Thank you!

rajendraongole1
Super User
Super User

Hi @aruna_jayapaul  - you can verify that the data type of your measure in Power BI is compatible with Power Apps (e.g., Decimal Number, Whole Number, or Text, depending on your need).Avoid ambiguous data types, such as automatic conversion between number and text.

JSON Online Validator and Formatter - JSON Lint

Ensure that the column or measure exported from Power BI to Power Apps is formatted consistently (e.g., ensure no hidden blank/null values).Use the IF or COALESCE function in your DAX measure

 

Hope this helps.

 





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

Proud to be a Super User!





Hi @rajendraongole1 , Already i have set the dataype of the measure to whole number in power BI. And i have used if condition in the measure to convert blank to Zero's if any.

bhanu_gautam
Super User
Super User

@aruna_jayapaul , Try using this in Power Apps

 

If(IsBlank(ThisItem.YourMeasure), 0, ThisItem.YourMeasure)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Thanks Bhanu_gautam for your input. Thisitem is not working for me. I have used calculation like below,

If(IsBlank(First(PowerBIintegration.data).YourMeasure), 0, First(PowerBIintegration.data).YourMeasure). 

Still am getting blank in Power BI

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.