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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
bvsaicharitha
Helper I
Helper I

Data with Zero values

HI

When I loaded an large excel file in power BI, the data with the numeric values are displayed as 0s but when I checked in edit queries, I could see the actual numeric values.

 

I am not able to create a new column with those columns( For example when I divide two columns it is taking 0/0 and displaying NaN)

 

Can you please help me why it is happening like that and how to rectify it?

1 ACCEPTED SOLUTION

Hi @bvsaicharitha,

 

Actually, you have 0s in the data source. So there may not be any issues. You can filter out these 0s in the Query editor or handle them in the DAX formula. For example, 

Measure = DIVIDE(3, 0, 99)
Column =
IF ( ISBLANK ( [Column1] ) = TRUE () || [Column1] = 0, 0, 3 / [Column1] )

Data_with_Zero_values

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Greg_Deckler
Community Champion
Community Champion

In the Modeling, perhaps increase the number of decimals for that column?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks,In ModellingIn ModellingIn Query editorIn Query editorIn Query EditorIn Query Editor

I could not still able to see the values after increasing the decimal 

Pbx file? How can I send you? I do not see that option

Yes, the pbix file. You can upload it to the cloud drive like OneDrive, GoogleDrive then share the download link here. You'd better attach the source file. Or we can't see the data in the Query Editor. Please mark or delete the private data first.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @bvsaicharitha,

 

Actually, you have 0s in the data source. So there may not be any issues. You can filter out these 0s in the Query editor or handle them in the DAX formula. For example, 

Measure = DIVIDE(3, 0, 99)
Column =
IF ( ISBLANK ( [Column1] ) = TRUE () || [Column1] = 0, 0, 3 / [Column1] )

Data_with_Zero_values

 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @bvsaicharitha,

 

Can you share the file? You can delete other parts first. It's hard to troubleshoot through snapshots.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors