cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Same Value Shows Up Multiple Times in Preview and Graph

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 🙂Data PreviewData PreviewLine Graph Same ValueLine Graph Same Value

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Same Value Shows Up Multiple Times in Preview and Graph

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:

4.JPG

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:

5.JPG

 

Best Regards,

Lin

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

View solution in original post

7 REPLIES 7
Highlighted
Community Support
Community Support

Re: Same Value Shows Up Multiple Times in Preview and Graph

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

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Same Value Shows Up Multiple Times in Preview and Graph


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.

 

FILE POWER BI:

 

https://gruposalvadorcaetano-my.sharepoint.com/:u:/g/personal/dmli_gruposalvadorcaetano_pt/EZSkjfC8t...

 

TABLES:

 

https://gruposalvadorcaetano-my.sharepoint.com/:x:/g/personal/dmli_gruposalvadorcaetano_pt/ETcq-np1I...

 

https://gruposalvadorcaetano-my.sharepoint.com/:x:/g/personal/dmli_gruposalvadorcaetano_pt/ERwD0FkJY...

 

https://gruposalvadorcaetano-my.sharepoint.com/:x:/g/personal/dmli_gruposalvadorcaetano_pt/EX3dVYTNj...

 

Thank you for your attention.

Highlighted
Community Support
Community Support

Re: Same Value Shows Up Multiple Times in Preview and Graph

hi, @DiaLim 

I have submitted it to power bi product team, I will post it here once I get a reply.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Same Value Shows Up Multiple Times in Preview and Graph

Hi @v-lili6-msft,

 

Thank you so much for your help and attention.

 

Best Regards,

 

DiaLim

 

 

Highlighted
Super User I
Super User I

Re: Same Value Shows Up Multiple Times in Preview and Graph

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.

 

Highlighted
Community Support
Community Support

Re: Same Value Shows Up Multiple Times in Preview and Graph

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:

4.JPG

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:

5.JPG

 

Best Regards,

Lin

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

View solution in original post

Highlighted
New Member

Re: Same Value Shows Up Multiple Times in Preview and Graph

Thank you so much for your help. It worked. 🙂 

 

 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors