<?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: Dynamic Column selection based on Slicer selection in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1397492#M25681</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your kind reply.&lt;/P&gt;&lt;P&gt;I have gone through the links you have provided, unfortunately still unclear on how to achieve this with Bins and Groups.&lt;/P&gt;&lt;P&gt;Coud you please help elaborating it little more, or can you please share some steps I should perform in power bi desktop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sreejith&lt;/P&gt;</description>
    <pubDate>Sun, 27 Sep 2020 14:48:30 GMT</pubDate>
    <dc:creator>SreejithR</dc:creator>
    <dc:date>2020-09-27T14:48:30Z</dc:date>
    <item>
      <title>Dynamic Column selection based on Slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1396488#M25643</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I am new to power BI and DAX and looking for solution for below issue.&lt;BR /&gt;I want to generate a runtime dynamic column based on slicer selection&lt;BR /&gt;Sample data as below.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;Opportunity_Key&lt;/TD&gt;&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ve&lt;/TD&gt;&lt;TD&gt;Steve&lt;/TD&gt;&lt;TD&gt;2400000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;560&lt;/TD&gt;&lt;TD&gt;Q2&lt;/TD&gt;&lt;TD&gt;Jul&lt;/TD&gt;&lt;TD&gt;Mary&lt;/TD&gt;&lt;TD&gt;Steve&lt;/TD&gt;&lt;TD&gt;Mark&lt;/TD&gt;&lt;TD&gt;200000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the use case as below,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If user has done any slection on Quarter Slicer, column "Rainmaker_Quarter" to be considered for the dynamic column&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Else if user has done a slection on Month Slicer, column "Rainmaker_Month" to be considered for the dynamic column&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Else column "Rainmaker" to be considered for the dynamic column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to write it in a calculated measure like below&lt;/P&gt;&lt;P&gt;MeasureRainmaker = IF(ISFILTERED(pre_sls_tbl[Month]),pre_sls_tbl[Rainmaker_Month],IF(ISFILTERED(pre_sls_tbl[Quarter]),pre_sls_tbl[Rainmaker_Quarter],pre_sls_tbl[Rainmaker]))&lt;/P&gt;&lt;P&gt;But it doesnt look useful for me as I can't put the measure in the X-axis of a bar chart.&lt;BR /&gt;Basically my bar chart to show various rainmakers on X axis and curresponding TCV on Y axis depends on the slicer selection.&lt;BR /&gt;Can anyone please guide me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sreejith&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 18:58:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1396488#M25643</guid>
      <dc:creator>SreejithR</dc:creator>
      <dc:date>2020-09-25T18:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Column selection based on Slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1396768#M25660</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="260895" data-lia-user-login="SreejithR" class="lia-mention lia-mention-user"&gt;SreejithR&lt;/a&gt; , You can create a calculated column with slicer values. For that, you need to take the help of Dynamic Segmentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer to how it works on video or these blogs: &lt;A href="https://youtu.be/CuczXPj0N-k" target="_blank"&gt;https://youtu.be/CuczXPj0N-k&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.daxpatterns.com/dynamic-segmentation/" target="_blank"&gt;https://www.daxpatterns.com/dynamic-segmentation/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://radacad.com/grouping-and-binning-step-towards-better-data-visualization" target="_blank"&gt;https://radacad.com/grouping-and-binning-step-towards-better-data-visualization&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://radacad.com/dynamic-banding-or-grouping-in-power-bi-using-dax-measures-choose-the-size-of-bins" target="_blank"&gt;https://radacad.com/dynamic-banding-or-grouping-in-power-bi-using-dax-measures-choose-the-size-of-bins&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.credera.com/blog/technology-solutions/creating-aging-report-using-a-user-selected-date-in-power-bi/" target="_blank"&gt;https://www.credera.com/blog/technology-solutions/creating-aging-report-using-a-user-selected-date-in-power-bi/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share sample output ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 01:08:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1396768#M25660</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-09-26T01:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Column selection based on Slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1397492#M25681</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your kind reply.&lt;/P&gt;&lt;P&gt;I have gone through the links you have provided, unfortunately still unclear on how to achieve this with Bins and Groups.&lt;/P&gt;&lt;P&gt;Coud you please help elaborating it little more, or can you please share some steps I should perform in power bi desktop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sreejith&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 14:48:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1397492#M25681</guid>
      <dc:creator>SreejithR</dc:creator>
      <dc:date>2020-09-27T14:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Column selection based on Slicer selection</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1403611#M25864</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Any help/guidance in this?&lt;/P&gt;&lt;P&gt;Basically I am trying to show my Visual1 barchart X axis dynamically based on the period selection in visual2. If quarter selected in visual2, show values from column Rainmaker_Quarter in visual1 x-axis, if month selected, show values from Rainmaker_Month column else Rainmaker column. The use case looks to be pretty straight forward and easily achievble in tableau. I am new to Power BI and struggling to achieve this. Can anyone please guide?&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;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sreejith&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 06:03:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Column-selection-based-on-Slicer-selection/m-p/1403611#M25864</guid>
      <dc:creator>SreejithR</dc:creator>
      <dc:date>2020-09-30T06:03:36Z</dc:date>
    </item>
  </channel>
</rss>

