<?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: One measure to display desired value on card in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808398#M88741</link>
    <description>&lt;P&gt;Create a measure to use on your card visual like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure for card = 1&lt;/LI-CODE&gt;
&lt;P&gt;Create a calculation group with a calculation item for each measure you want to be able to select. The calculation items would check whether the measure for your card visual was active and then simply return the appropriate measure. e.g. your calculation item for revenue would be&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF( ISSELECTEDMEASURE( [Measure for card]), [Total revenue], SELECTEDMEASURE())&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 30 Sep 2022 11:31:10 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2022-09-30T11:31:10Z</dc:date>
    <item>
      <title>One measure to display desired value on card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808356#M88731</link>
      <description>&lt;P&gt;Hello everyone i have the pbxi file below:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://1drv.ms/u/s!Ag9tIyk2ofNRjkrl7o_3GnzH9bQW?e=y3s9iy" target="_blank" rel="noopener"&gt;https://1drv.ms/u/s!Ag9tIyk2ofNRjkrl7o_3GnzH9bQW?e=y3s9iy&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i want to make one measure for current period and another measure for previous month period as in i want revenue,expense or any desired value inside one current measure which desplays it on my desire without having to create alot of measures like below:&lt;BR /&gt;&lt;BR /&gt;you can see&amp;nbsp;my calculations&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;so current value =&amp;nbsp;&lt;BR /&gt;var rev = calculation for rev&lt;BR /&gt;var exp = calculation for expense&lt;BR /&gt;var gross = rev - exp&lt;BR /&gt;&lt;BR /&gt;switch (&lt;BR /&gt;if i want my card on revenue, choose revenue calculation&lt;BR /&gt;if i want expense on card choose expense calculation...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i hope i was clear and didnt make you guys confused&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i reall appreciate the help from anyone&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 10:52:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808356#M88731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-30T10:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: One measure to display desired value on card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808398#M88741</link>
      <description>&lt;P&gt;Create a measure to use on your card visual like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure for card = 1&lt;/LI-CODE&gt;
&lt;P&gt;Create a calculation group with a calculation item for each measure you want to be able to select. The calculation items would check whether the measure for your card visual was active and then simply return the appropriate measure. e.g. your calculation item for revenue would be&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF( ISSELECTEDMEASURE( [Measure for card]), [Total revenue], SELECTEDMEASURE())&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:31:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808398#M88741</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-09-30T11:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: One measure to display desired value on card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808426#M88743</link>
      <description>&lt;P&gt;will this help me create one mwasure for multiple calculations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:50:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808426#M88743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-30T11:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: One measure to display desired value on card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808503#M88752</link>
      <description>&lt;P&gt;You would need to have the calculations already created, but this would allow you to show one measure on a card and have a user decide which calculation to show based on a slicer selection&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:36:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/One-measure-to-display-desired-value-on-card/m-p/2808503#M88752</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-09-30T12:36:24Z</dc:date>
    </item>
  </channel>
</rss>

