<?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 value is blank when multiple selections in a slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458735#M27488</link>
    <description>&lt;DIV&gt;&lt;SPAN&gt;I tried using this syntax but it changed all of my Euro values inside the column to Blank and the card also shows Blank as the answer if only one vehicle was selected. Could the problem be that this is a calculated column instead of a measure?&lt;BR /&gt;&lt;BR /&gt;EURO-Emission classification = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF(HASONEVALUE(vehiclesettings_BI_LL[Year]);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TRUE();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt; 1992; "No Year";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 1997 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 1";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 1998 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 2";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2000 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 3";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2005 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 4";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2008 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 5";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2013 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 12; "Euro 5";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2014; "Euro 6");&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Blank")&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 27 Oct 2020 16:48:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-27T16:48:54Z</dc:date>
    <item>
      <title>Card value is blank when multiple selections in a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1457429#M27438</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I'm wondering if it's possible to add a condition and how would it look like that if multiple selections were made to a slicer it shows a blank for this card?&lt;BR /&gt;&lt;BR /&gt;EURO-Emission classification =&lt;BR /&gt;SWITCH (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TRUE();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt; 1992; "No Year"; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 1997 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 1";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 1998 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 2";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2000 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 3";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2005 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 4";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2008 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 5";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2013 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 12; "Euro 5";&lt;BR /&gt;"Euro 6")&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Oct 2020 08:03:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1457429#M27438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-27T08:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Card value is blank when multiple selections in a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458398#M27473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt; -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use HASONEVALUE( )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF ( HASONEVALUE ( &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #000000; font-family: 'SegoeUI','Lato','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;vehiclesettings_BI_LL[Year] &lt;/SPAN&gt;),&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; SWITCH(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; .... ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; "Euro 6"),&lt;/P&gt;
&lt;P&gt;"") &amp;nbsp; //ELSE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note, this will also show "" if 0 slicer selections are made.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 14:02:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458398#M27473</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2020-10-27T14:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Card value is blank when multiple selections in a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458735#M27488</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;I tried using this syntax but it changed all of my Euro values inside the column to Blank and the card also shows Blank as the answer if only one vehicle was selected. Could the problem be that this is a calculated column instead of a measure?&lt;BR /&gt;&lt;BR /&gt;EURO-Emission classification = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF(HASONEVALUE(vehiclesettings_BI_LL[Year]);&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TRUE();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt; 1992; "No Year";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 1997 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 1";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 1998 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 2";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2000 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 3";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2005 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 4";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2008 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 10; "Euro 5";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2013 &amp;amp;&amp;amp; vehiclesettings_BI_LL[MonthNumber] &amp;lt;= 12; "Euro 5";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vehiclesettings_BI_LL[Year] &amp;lt;= 2014; "Euro 6");&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Blank")&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:48:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458735#M27488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-27T16:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Card value is blank when multiple selections in a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458750#M27489</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; - if you want any value to change with a slicer, it must be a measure. Calculated columns are only refreshed once when the entire dataset is refreshed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still having trouble, please share a copy of your PBIX file with sensitive data scrubbed out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 16:52:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458750#M27489</guid>
      <dc:creator>dedelman_clng</dc:creator>
      <dc:date>2020-10-27T16:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Card value is blank when multiple selections in a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458924#M27497</link>
      <description>&lt;P&gt;I changed my syntax to work in a measure and now it works as intended. Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 18:02:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Card-value-is-blank-when-multiple-selections-in-a-slicer/m-p/1458924#M27497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-27T18:02:04Z</dc:date>
    </item>
  </channel>
</rss>

