<?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: using SELECTEDVALUE and  SWITCH to choose multiple measures or columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1322884#M23286</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="253891" data-lia-user-login="horza" class="lia-mention lia-mention-user"&gt;horza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you&amp;nbsp; share some sample data in text format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2020 13:30:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-25T13:30:43Z</dc:date>
    <item>
      <title>using SELECTEDVALUE and  SWITCH to choose multiple measures or columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1319890#M23203</link>
      <description>&lt;P&gt;I'm fairly new to PowerBI. I've got to grips with using SELECTEDVALUE and SWITCH to accomplish a slicer that picks a measure to show in a single visualisation - in my case a clustered bar chart. I want the choice in the slicer to pick a set of measures to show in the clustered bar chart.&lt;/P&gt;&lt;P&gt;Imagine the slicer is selecting for an geographical area and in the bar chart I want to show a balance, incomings and outgoings for that area.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The code I have for the measure so far is below.. can I return some kind of collection??&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;WhichSalesArea =&lt;BR /&gt;var MySelection = SELECTEDVALUE('Measure Selection'[Measure Name], "Sales")&lt;BR /&gt;return SWITCH(TRUE(),&lt;BR /&gt;MySelection="Area1",[Area1],&lt;BR /&gt;MySelection="Area2",[Area2],&lt;BR /&gt;MySelection="Area3",[Area3],&lt;BR /&gt;MySelection&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 15:36:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1319890#M23203</guid>
      <dc:creator>horza</dc:creator>
      <dc:date>2020-08-24T15:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: using SELECTEDVALUE and  SWITCH to choose multiple measures or columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1320060#M23209</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="253891" data-lia-user-login="horza" class="lia-mention lia-mention-user"&gt;horza&lt;/a&gt; , refer if this can help&lt;/P&gt;
&lt;P&gt;measure slicer &lt;BR /&gt;&lt;A href="https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slicer-parameter-table-pattern" target="_blank"&gt;https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slicer-parameter-table-pattern&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=vlnx7QUVYME" target="_blank"&gt;https://www.youtube.com/watch?v=vlnx7QUVYME&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:33:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1320060#M23209</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-08-24T16:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: using SELECTEDVALUE and  SWITCH to choose multiple measures or columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1320639#M23226</link>
      <description>&lt;P&gt;Thanks for the links! The 'Guy in a cube' one is particularly interesting. However I can't apply that to the problem at hand.&lt;BR /&gt;&lt;BR /&gt;The first two links are relevant but they only instruct on how to do the basic task of selecting one measure/column in the slicer. I can do that just fine. The problem is how to select multiple measures/columns.&lt;BR /&gt;&lt;BR /&gt;To be more specific: Lets say I have a slicer where I can pick America, Asia and Europe. If I pick America I see a clustered chart where I can see three columns per time period e.g. balance, incomings, outgoings. I can pick Asia and see the balance, incomings and outgoings for each period in Asia... and Europe. The data for America, Asia and Europe is in 3 different tables. The balance, incomings and outgoings are in 3 different columns.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 21:01:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1320639#M23226</guid>
      <dc:creator>horza</dc:creator>
      <dc:date>2020-08-24T21:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: using SELECTEDVALUE and  SWITCH to choose multiple measures or columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1320853#M23235</link>
      <description>&lt;P&gt;If the data for the 3 geographical areas is at the same granularity, why not make things easier by combining in one fact table?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 23:53:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1320853#M23235</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2020-08-24T23:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: using SELECTEDVALUE and  SWITCH to choose multiple measures or columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1322624#M23275</link>
      <description>&lt;P&gt;Can you elaborate or provide an example?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 11:55:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1322624#M23275</guid>
      <dc:creator>horza</dc:creator>
      <dc:date>2020-08-25T11:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: using SELECTEDVALUE and  SWITCH to choose multiple measures or columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1322884#M23286</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="253891" data-lia-user-login="horza" class="lia-mention lia-mention-user"&gt;horza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you&amp;nbsp; share some sample data in text format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Harsh Nathani&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 13:30:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/1322884#M23286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-25T13:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: using SELECTEDVALUE and  SWITCH to choose multiple measures or columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/3499003#M134113</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="253891" data-lia-user-login="horza" class="lia-mention lia-mention-user"&gt;horza&lt;/a&gt;&amp;nbsp;Did you find solution do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having same issues Ic an use parameters in Bi to switch between 1 measure at time on chart, however i want to compare 2 measures at a time (so actuals Vs forecast) per category.&lt;BR /&gt;&lt;BR /&gt;Does anyone know hot to achive this without having to create 4 charts/show hie with bookmarks?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 13:05:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/using-SELECTEDVALUE-and-SWITCH-to-choose-multiple-measures-or/m-p/3499003#M134113</guid>
      <dc:creator>forgetmenot</dc:creator>
      <dc:date>2023-10-26T13:05:12Z</dc:date>
    </item>
  </channel>
</rss>

