Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

wrong data formatting after refreshing dataset/dashboard

Hi All,

 

i've an issue when I refresh a dataset/dashboard: the format of a measure that sum the value of a column loose his format and trasform thousands in millions even if the model itself is right. 
Infact, when I publish the report for the first time it is perfect, if I connect the same to a gateway and aks for a refresh, the number get wrong format.

 

Thanks for helping

4 Replies

  • Hi. That's strange. I think you could try adjusting the format to the measure manually. Get in the power bi desktop and specify the format of the measure with a custom string that make sense for you. You can check this doc to read how it works:

    https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings

    That should make sure you won't have an issue with millions, thousands or hundreds. Consider that decimal points are a different story that depends on the browser language on how it will show it (dots and commas)

    I hope that helps,

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi, ibarrau i've tried but this doesn't work as this issue comes not from the model but just when I ask to refresh the model.
      the original file has "," as separator for the decimal and "." as separator for thousands (Italian standard). In my power bi desktop I have done the change to the international standard replacing "." with nothing and "," with "." in order to get clean data. Doing this it works perfectly in desktop but not when I push this to a refresh in the app service on line. Wondering how can I overcome this issue

      Thanks

      G

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  Anonymous 

    What if you republish the report to the Service? Is the data displayed normal? If you do a refresh in Desktop, is the response normal? What is your data source?

     

    Best Regards,
    Community Support Team _ Ailsa Tao
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Yes the data is fine when I refresh it on desktop and is still fine when I publish the same. The issue came when I try to connect the data through a gateway and ask for a syncronization/update of the data.
      Part of the measure go crazy and I think i'm loosing the right format of some data as thousands becames millions
      what first is correct 

      than becomes incorrect

      What go crazy is the measure "forecast" which is a simply sum of a column which is made by data correctly formatted (as in the desktop version it is correct even in the graph)
      the measure detail is this

      Forecast qty = SUM(Forecast[Planned qty]).
      This column is formatted like a decimal number where "," is the separator for thousands, and . is the separator for decimal as you can see by the screenshot

      Thanks for helping

      G


      https://app.powerbi.com/links/C9FsyERMnd?ctid=cab1b94c-6ab2-47be-969f-352d18a86be4&pbi_source=linkShare&bookmarkGuid=b6144562-6163-4a3f-9ec9-c2bb0b6a6d44