<?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: Choose a COLUMN to be used in a visual with a slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Choose-a-COLUMN-to-be-used-in-a-visual-with-a-slicer/m-p/3045897#M104675</link>
    <description>&lt;P&gt;This does exactly what I'm asking for. I looked at this exact thing and thought it didn't work. I have no idea how I missed it. Thank you for removing the wool from my eyes.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 18:46:23 GMT</pubDate>
    <dc:creator>PorterSmash</dc:creator>
    <dc:date>2023-01-26T18:46:23Z</dc:date>
    <item>
      <title>Choose a COLUMN to be used in a visual with a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Choose-a-COLUMN-to-be-used-in-a-visual-with-a-slicer/m-p/3041280#M104329</link>
      <description>&lt;P&gt;In short: I want to (effectively) choose the COLUMN within any given visual by using a slicer or parameter. [End]&lt;BR /&gt;&lt;BR /&gt;My specific situation "in long": Let's say I have Map visual. For the location data field, I have a column that contains zip codes. I have another column in the table that tells whether that Zip code is closer to New York City, or if that Zip code is closer to Los Angeles. I have another column in the table that tells whether the Zip code is closer to New York City, or if it is closer to Dallas Texas. Like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Zip&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;NYC or LA&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;NYC or Dal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;23158&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;NYC&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;NYC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;36821&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;LA&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;DAL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;18632&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;NYC&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;DAL&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the bubble representing the zip code to change color based on which city is closest. So I can put "NYC or LA" in the Legend spot on my visual, or I can put "NYC or Dal" in that spot. But I cannot put both. I want to be able to switch between the two using a slicer or parameter. So the Zip 18632 would change color after changing the slicer. [End]&lt;BR /&gt;&lt;BR /&gt;I know you can do something SIMILAR to this using measures. Specifically, the &lt;FONT face="courier new,courier"&gt;SELECTEDVALUE()&lt;/FONT&gt; function. However, I need a row by row value. Context can be applied automatically when used in the correct visual, but I need a Map.&lt;BR /&gt;&lt;BR /&gt;I attempted this tutorial. But despite the title, it just doesn't work for columns.&lt;/P&gt;&lt;P&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" rel="noopener"&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am open to any ideas. If it would work by using a single column "NYC or NEW" and the column could be re-evaluated based on a slicer, that would work. The data is completely open to modification.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 20:52:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Choose-a-COLUMN-to-be-used-in-a-visual-with-a-slicer/m-p/3041280#M104329</guid>
      <dc:creator>PorterSmash</dc:creator>
      <dc:date>2023-01-24T20:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Choose a COLUMN to be used in a visual with a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Choose-a-COLUMN-to-be-used-in-a-visual-with-a-slicer/m-p/3041626#M104358</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393984" data-lia-user-login="PorterSmash" class="lia-mention lia-mention-user"&gt;PorterSmash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check if field parameters can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI Field Parameters — A Quick way for Dynamic Visuals: &lt;A href="https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd" target="_blank"&gt;https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd&lt;/A&gt;&lt;BR /&gt;Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: &lt;A href="https://youtu.be/lqF3Wa1FllE" target="_blank"&gt;https://youtu.be/lqF3Wa1FllE&lt;/A&gt;&lt;BR /&gt;Switch TOPN with Field Parameters: &lt;A href="https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f" target="_blank"&gt;https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI- Create dynamic slicers using field parameters: &lt;A href="https://youtu.be/H2ZxWaHAJZQ" target="_blank"&gt;https://youtu.be/H2ZxWaHAJZQ&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 02:11:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Choose-a-COLUMN-to-be-used-in-a-visual-with-a-slicer/m-p/3041626#M104358</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-01-25T02:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Choose a COLUMN to be used in a visual with a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Choose-a-COLUMN-to-be-used-in-a-visual-with-a-slicer/m-p/3045897#M104675</link>
      <description>&lt;P&gt;This does exactly what I'm asking for. I looked at this exact thing and thought it didn't work. I have no idea how I missed it. Thank you for removing the wool from my eyes.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 18:46:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Choose-a-COLUMN-to-be-used-in-a-visual-with-a-slicer/m-p/3045897#M104675</guid>
      <dc:creator>PorterSmash</dc:creator>
      <dc:date>2023-01-26T18:46:23Z</dc:date>
    </item>
  </channel>
</rss>

