Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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?
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 @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.
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
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]))
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
@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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |