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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mahdouchsfaq
Frequent Visitor

undefined value in DualGauge when current value is 0

undefined_value_GAUGE_BI.JPG

Hi everyone, i use the dualgauge visual to display the sales amount per year. When sales are equal to 0 , the current value is displayed as undefined on the visual . Any help?

4 REPLIES 4
mahdouchsfaq
Frequent Visitor

Hi,

i found what causes the problem: Toggle format to display numbers with K and M letters ( ex: 1000 = 1k).

when the number is lowert than 1000, it displays undefined,

Is there a way to format the numbers manullay with a function ? i tried Format function but it does not work as the return value is a string and i need a number. thanks !

mahdouchsfaq_0-1671503984785.png

 

Anonymous
Not applicable

Hi @mahdouchsfaq ,

 

In your data table, what is the corresponding value when sales is 0? Maybe you can check if the data is wrong? Also, is this "DualGauge"  visual added from the custom visual ? I'm sorry I didn't find this visual and I couldn't test it. If it's convenient, can you send me a PBIX file without private data?

 

Best regards,

Community Support Team Selina zhu

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

mahdouchsfaq
Frequent Visitor

@amitchandak it did not work. However, i noticed when the sales are above 1000$ the current value is diplayed right. I added a minim value of 0 but it did not solve the problem!

amitchandak
Super User
Super User

@mahdouchsfaq , add +0 to your measure and try

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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