<?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: Currency calculation for last year between two tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Currency-calculation-for-last-year-between-two-tables/m-p/2295789#M56581</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="347491" data-lia-user-login="ys034" class="lia-mention lia-mention-user"&gt;ys034&lt;/a&gt; , You should not create a column on measure. You should now create a measure only &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;something like&lt;/P&gt;
&lt;P&gt;Total Sales LC Curr = SUMX('DataTable', 'DataTable'[Total Sales Local Currency]/ RELATED('Currency Table'[Exchange Rate]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Total Sales LC Curr LY = CALCULATE(SUMX('DataTable', 'DataTable'[Total Sales Local Currency]/ RELATED('Currency Table'[Exchange Rate])),SAMEPERIODLASTYEAR('DateTable'[Date]))&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 14:23:01 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2022-01-21T14:23:01Z</dc:date>
    <item>
      <title>Currency calculation for last year between two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Currency-calculation-for-last-year-between-two-tables/m-p/2295760#M56578</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following problem and namely I want for last year the sales in the correctly converted currency eg. Pound to Euro for Great Britain&lt;BR /&gt;For the current year it works through a calculated column. Does anyone have an idea for this issue?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Measures:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Sales LC = SUM('DataTable'[Total Sales Local Currency])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Sales LC LY = CALCULATE(SUM('DataTable'[Total Sales Local Currency]),SAMEPERIODLASTYEAR('DateTable'[Date]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Calculated Column:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Sales EUR = [Total Sales LC] / RELATED('Currency Table'[Exchange Rate])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total Sales EUR LY = [Total Sales LC LY] / RELATED('Currency Table'[Exchange Rate]) (info: a circular dependency was detected)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;My Model:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jan 2022 14:08:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Currency-calculation-for-last-year-between-two-tables/m-p/2295760#M56578</guid>
      <dc:creator>ys034</dc:creator>
      <dc:date>2022-01-21T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Currency calculation for last year between two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Currency-calculation-for-last-year-between-two-tables/m-p/2295789#M56581</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="347491" data-lia-user-login="ys034" class="lia-mention lia-mention-user"&gt;ys034&lt;/a&gt; , You should not create a column on measure. You should now create a measure only &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;something like&lt;/P&gt;
&lt;P&gt;Total Sales LC Curr = SUMX('DataTable', 'DataTable'[Total Sales Local Currency]/ RELATED('Currency Table'[Exchange Rate]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Total Sales LC Curr LY = CALCULATE(SUMX('DataTable', 'DataTable'[Total Sales Local Currency]/ RELATED('Currency Table'[Exchange Rate])),SAMEPERIODLASTYEAR('DateTable'[Date]))&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 14:23:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Currency-calculation-for-last-year-between-two-tables/m-p/2295789#M56581</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-21T14:23:01Z</dc:date>
    </item>
  </channel>
</rss>

