<?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 comand for card visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046747#M104759</link>
    <description>&lt;P&gt;Yes!! It works!!!&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2023 08:34:28 GMT</pubDate>
    <dc:creator>nanacobsbs</dc:creator>
    <dc:date>2023-01-27T08:34:28Z</dc:date>
    <item>
      <title>Dax comand for card visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046408#M104726</link>
      <description>&lt;P&gt;I would like to have a card next to a graph visualizing sales performance and Target, showing the ratio to Target for the month selected by the slicer.&lt;BR /&gt;I would also like to set a threshold value and have it configured to change the background of the card depending on the value.&lt;BR /&gt;I created the following code, but when I put it in the card, it is blank and I cannot set the color.&lt;BR /&gt;Is it possible to have the numbers on the table appear on the card?&lt;/P&gt;&lt;P&gt;Please help again.&lt;/P&gt;&lt;P&gt;VS Target = IF(MAX('Calendar'[Date]) = MAX('Date for slicer'[Date]), DIVIDE(SUM('Budget Control'[Actual]),SUM('Budget Control'[Target])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a sample pbix file and tried to upload here, but coudn't due to the follwing error message.&lt;BR /&gt;&lt;SPAN&gt;error&amp;nbsp; message:The file type (.pbix) is not supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What is wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 02:11:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046408#M104726</guid>
      <dc:creator>nanacobsbs</dc:creator>
      <dc:date>2023-01-27T02:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dax comand for card visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046436#M104728</link>
      <description>&lt;P&gt;because in the card visual, there is no filter context on the calendar table, so the condition of IF is FALSE, and give you a blank.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;VS Target = VAR _date=MAX('Date for slicer'[Date]) RETURN CALCULATE(DIVIDE(SUM('Budget Control'[Actual]),SUM('Budget Control'[Target])),'Calendar'[Date]=_date)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 02:38:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046436#M104728</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-01-27T02:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dax comand for card visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046520#M104736</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I copied the dax code, but it is still blank.&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;</description>
      <pubDate>Fri, 27 Jan 2023 04:30:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046520#M104736</guid>
      <dc:creator>nanacobsbs</dc:creator>
      <dc:date>2023-01-27T04:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dax comand for card visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046699#M104753</link>
      <description>&lt;P&gt;does this work?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;VS Target = VAR _date=VALUES('Date for slicer'[Date]) RETURN CALCULATE(DIVIDE(SUM('Budget Control'[Actual]),SUM('Budget Control'[Target])),TREATAS(_date,'Calendar'[Date]))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 07:50:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046699#M104753</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-01-27T07:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dax comand for card visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046747#M104759</link>
      <description>&lt;P&gt;Yes!! It works!!!&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 08:34:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-comand-for-card-visual/m-p/3046747#M104759</guid>
      <dc:creator>nanacobsbs</dc:creator>
      <dc:date>2023-01-27T08:34:28Z</dc:date>
    </item>
  </channel>
</rss>

