<?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: Card Visual to show nothing in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3462922#M132105</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It didn't work.&amp;nbsp; It showed BLANK no matter what the situation is even if I had quarter and year selected.&amp;nbsp; I'll try to get you over a pbix file.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 03:05:46 GMT</pubDate>
    <dc:creator>rwong1</dc:creator>
    <dc:date>2023-10-06T03:05:46Z</dc:date>
    <item>
      <title>Card Visual to show nothing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3458105#M131835</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get a card visual that contains the growth data to not show anything if NO month is selected.&amp;nbsp; I tried alot of things and it still didn't work.&amp;nbsp; I just want to have my card visual show nothing or blank or NA if the month slicer is not selected.&amp;nbsp; If the year and quarter slicer is selected I want the card visual to show the revenue growth value.&amp;nbsp; I tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;HASONEVALUE&lt;/SPAN&gt;&lt;SPAN&gt;('Date'[Month]),&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;(), &lt;/SPAN&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(([Actual Revenue]-[Actual Sales QTD Previous]),[Actual Sales QTD Previous]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF(SELECTEDVALUE('Date'[Month]),BLANK(), DIVIDE(([Actual Revenue]-[Actual Sales QTD Previous]),[Actual Sales QTD Previous]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Nothing is working.&amp;nbsp; Please advise if you have any ideas.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Oct 2023 17:20:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3458105#M131835</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2023-10-03T17:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Card Visual to show nothing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3460714#M132006</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="288763" data-lia-user-login="rwong1" class="lia-mention lia-mention-user"&gt;rwong1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1)&amp;nbsp; We can create a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(ISFILTERED('Date'[Month])=FALSE(),BLANK(),DIVIDE(([Actual Revenue]-[Actual Sales QTD Previous]),[Actual Sales QTD Previous]))&lt;/LI-CODE&gt;
&lt;P&gt;or:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(SELECTEDVALUE('Date'[Month])=BLANK(),BLANK(), DIVIDE(([Actual Revenue]-[Actual Sales QTD Previous]),[Actual Sales QTD Previous]))&lt;/LI-CODE&gt;
&lt;P&gt;(2) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 01:47:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3460714#M132006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-05T01:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Card Visual to show nothing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3462922#M132105</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It didn't work.&amp;nbsp; It showed BLANK no matter what the situation is even if I had quarter and year selected.&amp;nbsp; I'll try to get you over a pbix file.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 03:05:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3462922#M132105</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2023-10-06T03:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Card Visual to show nothing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3463014#M132108</link>
      <description>&lt;P&gt;Hi, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="288763" data-lia-user-login="rwong1" class="lia-mention lia-mention-user"&gt;rwong1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try below one&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;IF(ISFILTERED('Date'[Month])=FALSE(),if(isfiltered('date'[year] )|| isfiltered'(date'[quarter]),DIVIDE(([Actual Revenue]-[Actual Sales QTD Previous]),[Actual Sales QTD Previous]),blank()),blank())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 04:28:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3463014#M132108</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2023-10-06T04:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Card Visual to show nothing</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3463088#M132113</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="288763" data-lia-user-login="rwong1" class="lia-mention lia-mention-user"&gt;rwong1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update the measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;revenue growth value =DIVIDE(([Actual Revenue]-[Actual Sales QTD Previous]),[Actual Sales QTD Previous])&lt;/LI-CODE&gt;
&lt;P&gt;If you want to select the year slicer or select the quarter slicer or select the month slicer to display the revenue growth value:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = SWITCH(TRUE(),
ISFILTERED('Date'[Year])=TRUE(),[revenue growth value],
ISFILTERED('Date'[QUARTER])=TRUE(),[revenue growth value],
ISFILTERED('Date'[Month])=TRUE(),[revenue growth value])&lt;/LI-CODE&gt;
&lt;P&gt;If you want to select both the year and quarter slicers to display the revenue growth value:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure 2 = IF(ISFILTERED('Date'[Year])=TRUE() &amp;amp;&amp;amp; ISFILTERED('Date'[QUARTER])=TRUE() ,[revenue growth value],BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 05:59:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-Visual-to-show-nothing/m-p/3463088#M132113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-06T05:59:17Z</dc:date>
    </item>
  </channel>
</rss>

