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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

values in the graphs are not displayed

I have some graphics that instead of presenting the value NaN is presenting, and position the mouse pointer on the graph the value is displayed as the image down, why this happens? and how to solve?

 

Untitled1.png

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous,

Based on my test, NaN value can be returned in the following scenarios, please check them in your column.

0/0 = NaN
(2/0)/(3/0) = NaN
0/BLANK() = NaN

Also use ISERROR() function to check if your value is NaN, if the function returns True, it means that your value has errors.

Thanks,
Lydia Zhang

Anonymous
Not applicable

@Anonymous @ankitpatira

thak you for your help,

 

As you can see in the picture, I am using the expression the ISBLANK () function, and formatted the indicator to be percentage, how could I use the ISERROR () function in this case?

 

Note: this image has no filter applied.

 

Untitled.png

 

Anonymous
Not applicable

Hi @Anonymous,

You can create another measure as follows and use ISERROR() function to check if your value has errors. Drag the CheckMeasure to a table visual and check if it returns "True".

CheckMeasure = ISERROR(YourMeasure)

Thanks,
Lydia Zhang

Anonymous
Not applicable

ok did a test and showed true, but I see the error in my expression

 

 

ISERROR((sum(Fatos[Vl_Receita])-sum(Fatos[Vl_Estorno])*100)/sum(Fatos[Vl_ReceitaPrevista]))

Anonymous
Not applicable

Hi @Anonymous,

Please check if the following expression returns value like"0/0", "0/BLANK()", and make sure the measure is not defined as Text data type. 

(sum(Fatos[Vl_Receita])-sum(Fatos[Vl_Estorno])*100)/sum(Fatos[Vl_ReceitaPrevista])

Thanks,
Lydia Zhang

ankitpatira
Community Champion
Community Champion

@Anonymous NaN means not a number. Are you anywhere formatting that column to a Text field type. If you format that field to percentage or decimal number then that should solve the problem.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Solution Authors