<?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 Combine Measure Selected Value Format with Calculate in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-Measure-Selected-Value-Format-with-Calculate/m-p/2172024#M50441</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a matrix table with the list of KPI in the rows with different data format (Currency &amp;amp; Percentage).&lt;BR /&gt;How can I combine the DAX Measure if I already have these measure:&lt;BR /&gt;Act = CALCULATE(sum('KPI Performance'[Val]),filter('KPI Performance','KPI Performance'[Type]="Actual"))&lt;/P&gt;&lt;P&gt;I want to combine with IF(SELECTEDVALUE('KPI Performance'[Attribute])="%GROWTH", FORMAT(CALCULATE(SUM('KPI Performance'[Val])),"Percent"),FORMAT(CALCULATE(SUM('KPI Performance'[Val])),"Currency")&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 06:49:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-11-04T06:49:49Z</dc:date>
    <item>
      <title>Combine Measure Selected Value Format with Calculate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-Measure-Selected-Value-Format-with-Calculate/m-p/2172024#M50441</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a matrix table with the list of KPI in the rows with different data format (Currency &amp;amp; Percentage).&lt;BR /&gt;How can I combine the DAX Measure if I already have these measure:&lt;BR /&gt;Act = CALCULATE(sum('KPI Performance'[Val]),filter('KPI Performance','KPI Performance'[Type]="Actual"))&lt;/P&gt;&lt;P&gt;I want to combine with IF(SELECTEDVALUE('KPI Performance'[Attribute])="%GROWTH", FORMAT(CALCULATE(SUM('KPI Performance'[Val])),"Percent"),FORMAT(CALCULATE(SUM('KPI Performance'[Val])),"Currency")&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 06:49:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-Measure-Selected-Value-Format-with-Calculate/m-p/2172024#M50441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-04T06:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Measure Selected Value Format with Calculate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-Measure-Selected-Value-Format-with-Calculate/m-p/2176058#M50609</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you add more details about your request? do you want to change Act format?if yes, try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Act =&lt;BR /&gt;Var _A = CALCULATE(sum('KPI Performance'[Val]),filter('KPI Performance','KPI Performance'[Type]="Actual"))&lt;BR /&gt;return&lt;BR /&gt;IF(SELECTEDVALUE('KPI Performance'[Attribute])="%GROWTH", FORMAT(_A,"Percent"),FORMAT(_A,"Currency"))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 22:34:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Combine-Measure-Selected-Value-Format-with-Calculate/m-p/2176058#M50609</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-11-06T22:34:55Z</dc:date>
    </item>
  </channel>
</rss>

