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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

how to replace NaN to 0 in paginated report

Hi Team,

 

i have made the expression the two columns in divide example is below 

 

=Sum(Fields!SLA_NOT_MET_6_9_HRS.Value)/Sum(Fields!SLA_NOT_MET_COUNT.Value)

 

Ater added above expression getting right values but some fields are showing "NaN" Error see below 

 

Now i want replace the 0 (Zero) instead of NaN. please share your suggestions.

 

MKM_0-1724845459909.png

 

1 ACCEPTED SOLUTION
Rupak_bi
Super User
Super User

Hi,

 

You may try this
iferror(divide(Sum(Fields!SLA_NOT_MET_6_9_HRS.Value),Sum(Fields!SLA_NOT_MET_COUNT.Value),0),0)



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

View solution in original post

1 REPLY 1
Rupak_bi
Super User
Super User

Hi,

 

You may try this
iferror(divide(Sum(Fields!SLA_NOT_MET_6_9_HRS.Value),Sum(Fields!SLA_NOT_MET_COUNT.Value),0),0)



Regards
Rupak
FOLLOW ME : https://www.linkedin.com/in/rupaksar/

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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