<?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: SWITCH AND SEVERAL VALUES to display in a card in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3210904#M117103</link>
    <description>&lt;P&gt;hmmm can you please show me an example&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 09:27:45 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-04-28T09:27:45Z</dc:date>
    <item>
      <title>SWITCH AND SEVERAL VALUES to display in a card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3209506#M117017</link>
      <description>&lt;P&gt;I would like to know How is it possible to diplsay a value with a card when this one is selected in a filter?&lt;/P&gt;&lt;P&gt;I tried with the formula "Selectedvalue" but first, if nothing is selected then the value displays "(Vide)" whereas i would like to display something else in text. Second point, if we select 2 values, is is possible to display those ones?&lt;/P&gt;&lt;P&gt;Here is my exemple :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(Temps[Trimestre affichage]),&lt;/SPAN&gt;&lt;SPAN&gt;"Trim 1"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Trimestre 1"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Trim 2"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Trimestre 2"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Trim 3"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Trimestre 3"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Trim 4"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Trimestre 4"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Several selection :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;How can we do if we have several value ? Because here I have just 4 values but if i have more?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In add, if I select 2 values, it doesn't work (it displays nothing)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how is it possible to mix all that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your return.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Léna&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 14:19:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3209506#M117017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-27T14:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: SWITCH AND SEVERAL VALUES to display in a card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3209604#M117030</link>
      <description>&lt;P&gt;Hello Lena,&amp;nbsp;&lt;BR /&gt;Kindly follow my instruction&lt;BR /&gt;&lt;BR /&gt;create a new measure&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Semester Filtered = 
IF( 
    ISFILTERED('Table'[Semester]),
    VAR _f = FILTERS('Table'[Semester])
    VAR _d = CONCATENATEX(_f, SUBSTITUTE('Table'[Semester],"Trim","Trimester") ," , ")
    RETURN
    _d
,"Vide")&lt;/LI-CODE&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;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps if it does, a kudos and accept the solution would be appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&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>Thu, 27 Apr 2023 15:02:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3209604#M117030</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-04-27T15:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: SWITCH AND SEVERAL VALUES to display in a card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3210888#M117101</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;, thank you for your explanations, it's very clear.&lt;/P&gt;&lt;P&gt;However, I have an other request to add in this formula. How can we add an other filter, for exemple, in drill down we can have "month".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if i select Trimester 1 then it displays Trimester 1 in the card. But if i select january then, it displays January and delete the Trimestre value in the card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I played with the formula in different case but in vain.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you a lot&amp;nbsp; in advance and have a good day !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Léna&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 09:11:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3210888#M117101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-28T09:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: SWITCH AND SEVERAL VALUES to display in a card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3210904#M117103</link>
      <description>&lt;P&gt;hmmm can you please show me an example&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 09:27:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3210904#M117103</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-04-28T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: SWITCH AND SEVERAL VALUES to display in a card</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3221898#M117776</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for being late,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course I can , here I select trimester + month :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, If I do this, it shows in he card this result :&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best result it's if we can display only the month. On the contrary, if I select all trimester, then it displays "Trimester 1" if not "January" (or January &amp;amp; February). Etc.&lt;/P&gt;&lt;P&gt;I hope i am clear &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Léna&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 10:47:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SWITCH-AND-SEVERAL-VALUES-to-display-in-a-card/m-p/3221898#M117776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-05T10:47:46Z</dc:date>
    </item>
  </channel>
</rss>

