Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello 🙂
I have an exchange rate for a currency (CVE) and I want to do a graph that shows me the evolution of this currency during one year. In this case, it doesn’t have any variation during the year because the exchange rate is always 110,27, so when I do the graph it should show me a constant line. But it’s not what is happening. In data labels appears the same exchange rate (always 110,27), but the line doesn’t reflect it.
In the data analyses preview the value also shows up multiple times despite being the same value (110,265).
Any help would be much appreciated 🙂
Solved! Go to Solution.
hi, @DiaLim @HotChilli
I get this from product team:
The issue is in the precision of the double calcs - there is always a noise in the end so if I increase the formatting to show 15 digits I see the following:
To fix the issue user needs to select the Average Exchange rate column and switch the data type to "Fixed decimal number" using Modeling > Data type drop down in ribbon.
Result:
Best Regards,
Lin
hi, @DiaLim
I have tested on my side, but not reproduce the issue. There should be something wrong in other.
Could you please share your simple sample pbix file for us have a test.
You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
Best Regards,
Lin
Hi @v-lili6-msft v-lili6-msft
Basically we have three excel’s that are going to Power BI (Câmbios Manual (Exchange rates_Manual), Câmbios XRT (Exchange rates_XRT) and Base. And there, in Power BI, we did a new table (Câmbios-Exchange rates) that compile all the information of excel Câmbios Manual and Câmbios XRT). In this new table we calculated the average per month of exchange rate.
Then we created a new table in Power BI in that we utilized the function SUMMARIZE in order to make sure that each month only appears once so that we can utilize it easily in the graph section.
TABLES:
Thank you for your attention.
hi, @DiaLim
I have submitted it to power bi product team, I will post it here once I get a reply.
Best Regards,
Lin
hi, @DiaLim @HotChilli
I get this from product team:
The issue is in the precision of the double calcs - there is always a noise in the end so if I increase the formatting to show 15 digits I see the following:
To fix the issue user needs to select the Average Exchange rate column and switch the data type to "Fixed decimal number" using Modeling > Data type drop down in ribbon.
Result:
Best Regards,
Lin
Thank you so much for your help. It worked. 🙂
Hi,
I hope you don't mind, i was having a look at this issue.
I don't have an answer for you but I did see that the difference in value (which comes from the calculated column)
Câmbio médio = CALCULATE(AVERAGE('Câmbios'[Média]), ALLEXCEPT('Câmbios','Câmbios'[Moeda],'Câmbios'[Mês.média]))
is not visible in 'data view'
BUT is visible in 'report view' if you add the calculated column to a table visualisation (Do not summarize) and change the Format of the decimal number to show 14 decimal places. At this stage 110.26 becomes 110.26499999999999 or 110.26500000000001
------
One workaround for now would be to change the format of the y axis on the visualisation on your report. You could enter 'start' and 'end' values which are less precise, for example, 110 and 114. That would 'flatten' the graph.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |