<?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 statement with fields and not measures in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3418087#M129360</link>
    <description>&lt;P&gt;Hi Sakiko, thanks for the help, but the problem is that Reditems and Otheritems are actually fields within the same table. (Table A)&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 15:39:34 GMT</pubDate>
    <dc:creator>adinh1</dc:creator>
    <dc:date>2023-09-06T15:39:34Z</dc:date>
    <item>
      <title>Switch statement with fields and not measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3416397#M129273</link>
      <description>&lt;P&gt;Hi, I am trying to create a switch statement using table fields and and not measaures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;Category =&amp;nbsp;&lt;BR /&gt;SWITCH(SelectedValue('Table A'[Category] = "Red"),&lt;BR /&gt;'Table A'[RedItems], 'Table A'[OtherItems])&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 19:35:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3416397#M129273</guid>
      <dc:creator>adinh1</dc:creator>
      <dc:date>2023-09-05T19:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with fields and not measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3416515#M129283</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="612766" data-lia-user-login="adinh1" class="lia-mention lia-mention-user"&gt;adinh1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like below (depending on the field names in your data model) should work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Sep 2023 21:12:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3416515#M129283</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-09-05T21:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with fields and not measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3418087#M129360</link>
      <description>&lt;P&gt;Hi Sakiko, thanks for the help, but the problem is that Reditems and Otheritems are actually fields within the same table. (Table A)&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 15:39:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3418087#M129360</guid>
      <dc:creator>adinh1</dc:creator>
      <dc:date>2023-09-06T15:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with fields and not measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3418479#M129378</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="612766" data-lia-user-login="adinh1" class="lia-mention lia-mention-user"&gt;adinh1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are Reditems and Otheritems mutually exclusive (i.e., there are no overlaps)?&amp;nbsp; In that case, why do you need to separate those out in two columns and not combine in one field?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 20:32:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3418479#M129378</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2023-09-06T20:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Switch statement with fields and not measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3418587#M129384</link>
      <description>&lt;P&gt;Other items has values that is diff than red items in my case and we want to display both the unique values. For example Red needs to show it's own and Others need to show theirs.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 21:48:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-statement-with-fields-and-not-measures/m-p/3418587#M129384</guid>
      <dc:creator>adinh1</dc:creator>
      <dc:date>2023-09-06T21:48:01Z</dc:date>
    </item>
  </channel>
</rss>

