<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Conversion of values ​​by exchange rate in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2389297#M62070</link>
    <description>&lt;P&gt;Hola:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this missing value (Brz for March) is impacting results. It you test thru dates thru end of February, is it accurate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2022 19:16:35 GMT</pubDate>
    <dc:creator>Whitewater100</dc:creator>
    <dc:date>2022-03-11T19:16:35Z</dc:date>
    <item>
      <title>Conversion of values ​​by exchange rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2389205#M62067</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I hope you are good and healthy.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am facing some problems, that I supposed that is a DAX structuring problem.&lt;/P&gt;&lt;P&gt;I need to produce a P&amp;amp;L in BI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some kinds of local currency that I need to transform by exchange rate per month in USD currency and BRL currency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How you can see in example below, I don't know if my DAX is incorrect, because the conversion ir wrong.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column 1(Total): Value in local currency&lt;/P&gt;&lt;P&gt;Column 2 (Taxa): is the exchange rate to transform local currency - to USD&lt;/P&gt;&lt;P&gt;Colum 3 (Taxa USD): is the value when divide TOTAL per TAXA.&lt;/P&gt;&lt;P&gt;Colum 4(Taxa BRL): i need take the column Taxa USD, sum all values and multiply to BRL exchange rate in that month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problems&lt;/P&gt;&lt;P&gt;1- The values is strange. When you do in calculator the yellow example.&lt;/P&gt;&lt;P&gt;Total: 49.604.600&lt;/P&gt;&lt;P&gt;Taxa: 5,15&lt;/P&gt;&lt;P&gt;So, the correct value for Taxa USD will be: 9.631.961, but in table the value is 9.634.647&lt;/P&gt;&lt;P&gt;All lines is doing the incorrect calculate.&lt;/P&gt;&lt;P&gt;DAX for TAXA USD:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Taxa USD = &lt;/SPAN&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(SUM(&lt;/SPAN&gt;&lt;SPAN&gt;'Medidas Taxa'&lt;/SPAN&gt;&lt;SPAN&gt;[Actual])&lt;/SPAN&gt;&lt;SPAN&gt;,SUM(&lt;/SPAN&gt;&lt;SPAN&gt;'Medidas Taxa'&lt;/SPAN&gt;&lt;SPAN&gt;[Taxa Soma]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;2- And in the subtotal "Revenue" for example. It isn't sum the values below, but it is doing the division between the total in bold. I know that it is wrong, but I don't know how to solve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3- In column 4 I need to sum all values for the column 3 and transform USD to BRL, using the exchange rate for that month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX that&amp;nbsp;&lt;EM&gt; I used:&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Anyone face the same problem or can help me? Thank you!&lt;/P&gt;&lt;P&gt;The Power BI data is below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1g3ierhopwadSyhKC9baa9oCgOCD3MLaI%2Fview%3Fusp%3Dsharing&amp;amp;data=04%7C01%7Cleonardo.martins%40fisglobal.com%7Cec5db74a725247e7e46208da038a46cf%7Ce3ff91d834c84b15a0b418910a6ac575%7C0%7C0%7C637826189994921282%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0&amp;amp;sdata=YnISJhRPNJYahoRLeNtttJDjW%2FhsDGBeOP1MUrAEQ8I%3D&amp;amp;reserved=0" target="_blank"&gt;https://drive.google.com/file/d/1g3ierhopwadSyhKC9baa9oCgOCD3MLaI/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 18:14:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2389205#M62067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-11T18:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of values ​​by exchange rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2389297#M62070</link>
      <description>&lt;P&gt;Hola:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this missing value (Brz for March) is impacting results. It you test thru dates thru end of February, is it accurate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 19:16:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2389297#M62070</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-03-11T19:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of values ​​by exchange rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2389818#M62101</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;I think the problem initiated originally from the data and the data model.&amp;nbsp;&lt;BR /&gt;The &lt;STRONG&gt;dPlano de Contas HFM[&lt;/STRONG&gt;HFM ACCOUNT&lt;STRONG&gt;]&lt;/STRONG&gt; column is totally missing from the&lt;STRONG&gt; fTaxa Moeda&lt;/STRONG&gt; Table therefore, the essential&amp;nbsp;relationship between&amp;nbsp;&lt;STRONG&gt;dPlano de Contas HFM&lt;/STRONG&gt; and the&lt;STRONG&gt;&amp;nbsp;fTaxa Moeda&lt;/STRONG&gt; tables is missing and cannot be created. This is why in your visual the filter coming&amp;nbsp;from&amp;nbsp;&lt;STRONG&gt;dGrupo1[&lt;/STRONG&gt;P&amp;amp;L Group 1&lt;STRONG&gt;]&amp;nbsp;&lt;/STRONG&gt;column does not reach to the&amp;nbsp;&lt;STRONG&gt;fTaxa Moeda&lt;/STRONG&gt; Table. YOu can see that clearly in attached screenshot.&lt;BR /&gt;While at the default currency level you can spot the effect of the filter coming&amp;nbsp;from &lt;STRONG&gt;dGrupo Moeda[&lt;/STRONG&gt;Default Currency&lt;STRONG&gt;]&lt;/STRONG&gt; column because proper relation ship is created between the two tables. The same applies to &lt;STRONG&gt;dCalendar&lt;/STRONG&gt; table where a proper relationship is created.&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 10:51:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2389818#M62101</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-12T10:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of values ​​by exchange rate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2392605#M62288</link>
      <description>&lt;P&gt;Hi Whitewater100,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support. I put the value in March, but this didn't solve the problem... I imagine that can be any relatioship, but I am not founding the problem &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 13:58:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conversion-of-values-by-exchange-rate/m-p/2392605#M62288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-14T13:58:49Z</dc:date>
    </item>
  </channel>
</rss>

