<?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: Power BI How to Create Dynamic Conditional Column in matrix visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3811020#M149046</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. I&amp;nbsp; will try, but from this first perspective, I'm not sure that it is a right solution.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2024 13:28:18 GMT</pubDate>
    <dc:creator>George1973</dc:creator>
    <dc:date>2024-04-04T13:28:18Z</dc:date>
    <item>
      <title>Power BI How to Create Dynamic Conditional Column in matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3801656#M148642</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have a matrix visual having some columns and measures-in-a-row:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In a master data table, there are several columns, displaing Group_Discounts based on the year.. Meaning that 2024,2025,...2030 years have differennt discount rates for each company.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I have created a measure that shows the "% Rate" for each quater based on the year chosen in slicer (&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;Green Arrow&lt;/FONT&gt;&lt;/STRONG&gt; Direction)..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Qtr Sales Bonus Var = 
VAR ChooseYear=SELECTEDVALUE(DateKey[Year])
VAR Leader=SELECTEDVALUE(C_CLIENTS[Client_Group])
RETURN
SWITCH(TRUE(),
    ChooseYear=2024,LOOKUPVALUE(Companies_Sales_Plan[2024_Motiv_Qtr],Companies_Sales_Plan[ლიდერის კოდი],Leader),
    ChooseYear=2025,LOOKUPVALUE(Companies_Sales_Plan[2025_Motiv_Qtr],Companies_Sales_Plan[ლიდერის კოდი],Leader),
    ChooseYear=2026,LOOKUPVALUE(Companies_Sales_Plan[2026_Motiv_Qtr],Companies_Sales_Plan[ლიდერის კოდი],Leader),
    ChooseYear=2027,LOOKUPVALUE(Companies_Sales_Plan[2027_Motiv_Qtr],Companies_Sales_Plan[ლიდერის კოდი],Leader),
    ChooseYear=2028,LOOKUPVALUE(Companies_Sales_Plan[2028_Motiv_Qtr],Companies_Sales_Plan[ლიდერის კოდი],Leader),
    ChooseYear=2029,LOOKUPVALUE(Companies_Sales_Plan[2029_Motiv_Qtr],Companies_Sales_Plan[ლიდერის კოდი],Leader),
    ChooseYear=2030,LOOKUPVALUE(Companies_Sales_Plan[2030_Motiv_Qtr],Companies_Sales_Plan[ლიდერის კოდი],Leader),
    BLANK())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, I want to have it kept as a "Dynamic Column" instead of the "&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Red&lt;/FONT&gt;&lt;/STRONG&gt;" marked static column from the master table.&lt;BR /&gt;&lt;BR /&gt;Please advise your solution. So far, I have never tried to create a "Dynamic" column in Matrix visual, thinkin that column is a matrix should be always a static column from the master table.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 08:31:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3801656#M148642</guid>
      <dc:creator>George1973</dc:creator>
      <dc:date>2024-04-01T08:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI How to Create Dynamic Conditional Column in matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3802449#M148667</link>
      <description>&lt;P&gt;Unpivot your data in Power Query to bring it into a usable format.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 13:21:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3802449#M148667</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-04-01T13:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI How to Create Dynamic Conditional Column in matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3811020#M149046</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. I&amp;nbsp; will try, but from this first perspective, I'm not sure that it is a right solution.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 13:28:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3811020#M149046</guid>
      <dc:creator>George1973</dc:creator>
      <dc:date>2024-04-04T13:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI How to Create Dynamic Conditional Column in matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3825731#M149592</link>
      <description>&lt;P&gt;Thank you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;for your prompt reply.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="251408" data-lia-user-login="George1973" class="lia-mention lia-mention-user"&gt;George1973&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;May I ask if you have tried the suggestions above? If the suggestion helped you, you might consider marking it as a solution. If the problem has not yet been solved, could you provide more data (excluding private information) so that we can better understand and solve the problem you are experiencing.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If it does not help, please provide more details with your desired out put and pbix file without privacy information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ada Wang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;Accept it as the solution&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 06:21:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-How-to-Create-Dynamic-Conditional-Column-in-matrix/m-p/3825731#M149592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-10T06:21:20Z</dc:date>
    </item>
  </channel>
</rss>

