Forum Discussion

shilpib's avatar
shilpib
Helper I
9 years ago

Dial Gauge

Hi

 

I am using Dial Guage and the pointer value is 3.96 but in visual its appearing as 3.96999997 . Is it a bug or some settings required to be fixed?

Can someone help me.

 

Regards

Shilpi

18 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Try going into your model and editing the number of decimal places for your column or measure to 2 decimal places. If that does not help, it is likely a "bug" with the custom visual not respecting format settings.

    • shilpib's avatar
      shilpib
      Helper I

      I have set it to 2 decimal places but still it shows so many decimals . and today the data has changed so its hsowig correct figures. looks like a bug .Any idea how can we fix it?

      • v-qiuyu-msft's avatar
        v-qiuyu-msft
        Community Support

        Hi shilpib,

         

        Based on my test in Power BI Desktop version 2.40.4554.463 about the DialGuage sample, the Decimal Places settings for the field which place in Point Value property will not reflect the displayed value in the DialGuage visual. The point value display as two decimals always.

         

         

        I found the latest DialGuage version is updated on 10/5/2016, which should be updated again to adapt to the desktop changes. For this issue, I would suggest you contact the author of DialGuage visual by send the email to [email protected].

         

        Best Regards,

        Qiuyun Yu

  • radhikabedi's avatar
    radhikabedi
    Frequent Visitor

    Can you share how you got the color formatting. I have been trying to set values as measures but not being able to get the Green - Yellow - Red in that order

     

    Thanks in advance

    • shilpib's avatar
      shilpib
      Helper I

      Hi

       

      Check the above mentioned post which has an example file. Try to use it the same way.

       

      Regards

      Shilpi

  • radhikabedi's avatar
    radhikabedi
    Frequent Visitor

    Can you share how you got the color formatting. I have been trying to set values as measures but not being able to get the Green - Yellow - Red in that order

     

    Thanks in advance

    • joe817's avatar
      joe817
      Frequent Visitor

      The Dial Gauge can show "red" defined by "Actual Start" and "Actual End", "yellow" defined by "Target Start" and "Target End", and "green" defined by the rest of the range out of "Min" and "Max". The cell naming is very confusing. I would recommend replacing "Actual" with "Red", and "Target" with "Yellow".

       

      As to the display data format, yes it is correct that the Dial Gauge does not repect Power BI numerical format at all. Hope the author will get it fixed soon.