<?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: Dax Measure using IF statement with Values Function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-using-IF-statement-with-Values-Function/m-p/1008257#M12860</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196525" data-lia-user-login="tegar-budi" class="lia-mention lia-mention-user"&gt;tegar-budi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used Power Query to unpivot all the values colums and create another custom column to convert the values IDR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check it on this file as an example:&amp;nbsp;&lt;A title="PBIX" href="https://drive.google.com/file/d/1ItCSRqKY9w4iankslm57bPFIJLjipkZe/view?usp=sharing" target="_blank" rel="noopener"&gt;Download PBIX&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Apr 2020 18:25:04 GMT</pubDate>
    <dc:creator>camargos88</dc:creator>
    <dc:date>2020-04-04T18:25:04Z</dc:date>
    <item>
      <title>Dax Measure using IF statement with Values Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-using-IF-statement-with-Values-Function/m-p/1000796#M12675</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have table source like&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to change value to USD Rate using a measure for my report.&lt;BR /&gt;I can use a calculated column but i have 120 val column, it will make my report load slow if use calculated column. So I prefer using a measure&lt;BR /&gt;but my dax not work properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Dax :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;M_Val 1 = IF(Values('Table'[Cd_Currency])="IDR";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM('Table'[Val_1])/VALUES('Table'[Now_Currency]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM('Table'[Val_2]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;it show : A Table with multiple values was suplied where a single value was expected&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't mind if I have to make 120 measure val. I think it will be faster than the 120 val column&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;any assistance will be appreciated. thanks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Mar 2020 14:15:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-using-IF-statement-with-Values-Function/m-p/1000796#M12675</guid>
      <dc:creator>tegar-budi</dc:creator>
      <dc:date>2020-03-31T14:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Measure using IF statement with Values Function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-using-IF-statement-with-Values-Function/m-p/1008257#M12860</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="196525" data-lia-user-login="tegar-budi" class="lia-mention lia-mention-user"&gt;tegar-budi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used Power Query to unpivot all the values colums and create another custom column to convert the values IDR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check it on this file as an example:&amp;nbsp;&lt;A title="PBIX" href="https://drive.google.com/file/d/1ItCSRqKY9w4iankslm57bPFIJLjipkZe/view?usp=sharing" target="_blank" rel="noopener"&gt;Download PBIX&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Apr 2020 18:25:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Measure-using-IF-statement-with-Values-Function/m-p/1008257#M12860</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-04-04T18:25:04Z</dc:date>
    </item>
  </channel>
</rss>

