<?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: Dynamically changing matrix column headers based on slicer value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3193638#M115873</link>
    <description>&lt;P&gt;Hi, take a look at this article to see how i group columns under one field parameter to bring with one click the columns that i would like to display.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/pulse/field-parameters-case-measure-groups-olga-dontsova/?trackingId=wFMbN2zaSuC6YlrppL%2FSYw%3D%3D" target="_blank"&gt;https://www.linkedin.com/pulse/field-parameters-case-measure-groups-olga-dontsova/?trackingId=wFMbN2zaSuC6YlrppL%2FSYw%3D%3D&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have further questions.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 12:28:39 GMT</pubDate>
    <dc:creator>olgad</dc:creator>
    <dc:date>2023-04-18T12:28:39Z</dc:date>
    <item>
      <title>Dynamically changing matrix column headers based on slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3193576#M115871</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to be able to display a matrix with and without some columns based on a slicer selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I've managed to create two field parameters "HeadersIncQuotes" and "HeadersExcQuotes" containing the headers I will need in each view. I've then tried to create a new calculated table that chooses between these two field parameters depending on a selected value but I'm running into errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Headers = &lt;/SPAN&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(select_Quote[SelectQuote],&lt;/SPAN&gt;&lt;SPAN&gt;"abc"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;"Yes"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;(HeadersIncQuotes),&lt;/SPAN&gt;&lt;SPAN&gt;"No"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;(HeadersExcQuotes))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;"The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value."&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Am I on the right track here? Or is there a better way of doing this? I already explored using buttons and bookmarks to change the matrix displayed on my visual, but I want to go down the slicer route because the my slicer selection also feeds into some measure calculations and I don't want two separate selections to be made (one for the visualisation displayed and one for the measure calculations).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks&lt;BR /&gt;Dan&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Apr 2023 12:12:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3193576#M115871</guid>
      <dc:creator>DanielBragg91</dc:creator>
      <dc:date>2023-04-18T12:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing matrix column headers based on slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3193638#M115873</link>
      <description>&lt;P&gt;Hi, take a look at this article to see how i group columns under one field parameter to bring with one click the columns that i would like to display.&lt;BR /&gt;&lt;A href="https://www.linkedin.com/pulse/field-parameters-case-measure-groups-olga-dontsova/?trackingId=wFMbN2zaSuC6YlrppL%2FSYw%3D%3D" target="_blank"&gt;https://www.linkedin.com/pulse/field-parameters-case-measure-groups-olga-dontsova/?trackingId=wFMbN2zaSuC6YlrppL%2FSYw%3D%3D&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have further questions.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 12:28:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3193638#M115873</guid>
      <dc:creator>olgad</dc:creator>
      <dc:date>2023-04-18T12:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing matrix column headers based on slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3193898#M115892</link>
      <description>&lt;P&gt;That worked a treat! Thank you so much&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 14:19:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3193898#M115892</guid>
      <dc:creator>DanielBragg91</dc:creator>
      <dc:date>2023-04-18T14:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing matrix column headers based on slicer value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3657379#M141701</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help with Dynamic column header&lt;/P&gt;&lt;P&gt;I have attached the screenshot where have set of columns and created measure for all separate column.&lt;/P&gt;&lt;P&gt;When I select Month and Year it has to show same as screenshot.&lt;/P&gt;&lt;P&gt;Is there any way I can do it in Power BI desktop. Please let me know&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 14:40:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-changing-matrix-column-headers-based-on-slicer-value/m-p/3657379#M141701</guid>
      <dc:creator>anushaghi123</dc:creator>
      <dc:date>2024-01-24T14:40:48Z</dc:date>
    </item>
  </channel>
</rss>

