<?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: Calculated Column filter dynamic in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3391986#M127879</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2) We can create a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;total = SUMX(ALL('Release planner'[Index]),[MCS RT])&lt;/LI-CODE&gt;
&lt;P&gt;(3) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 08:39:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-22T08:39:54Z</dc:date>
    <item>
      <title>Calculated Column filter dynamic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3383238#M127476</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I have created a new column with dax this way :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MCS =
VAR CurrentKey = 'Release planner'[FC ID]
VAR MultifactorFiltered = FILTER('Multifactor PI Calculator', 'Multifactor PI Calculator'[Multifactor PI] = "2023PI3")
VAR MatchingKey = COUNTROWS(FILTER(MultifactorFiltered, 'Multifactor PI Calculator'[FC number] = CurrentKey))

VAR DividerToUse =
IF(
MatchingKey &amp;gt; 0,
MAXX(MultifactorFiltered, [Value]),
'Release planner'[FC size]
)

RETURN
IF(
DividerToUse &amp;lt; 1,
'Release planner'[MCS Effort] * DividerToUse,
'Release planner'[MCS Effort] / DividerToUse
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;There reason behind this is that sometimes the column need to be calculated from a different table. I am using this column on different tabs as well and it needs to be able to change by everytab. In the line 3 "2023PI3" part needs to be dynamic in someways, slicer filter not sure.&lt;BR /&gt;I have tried to create a new table with just these values and use it as a slicer but it would change the end value.&lt;BR /&gt;Thanks inadvance&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 16:48:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3383238#M127476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-16T16:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column filter dynamic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3391645#M127861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you wish to replace "2023PI3" with the value selected by the slicer, you need to&lt;BR /&gt;1. Create a measure instead of a calculated column, because calculated columns cannot change dynamically.&lt;BR /&gt;2. Create a slicer table.&lt;/P&gt;
&lt;P&gt;3.Change "2023PI3" in the metric to SELECTEDVALUE('Slicer Table'[Value]), which will change depending on the value of the slicer.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 06:21:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3391645#M127861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-22T06:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column filter dynamic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3391898#M127875</link>
      <description>&lt;P&gt;Thanks for the help, it worked , do you mind helping me with this part as well? I want to create a running total of this measure, for which I have an index column for the order. This was the older version:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MCS RT = 
VAR currentIndex = MAX('Release planner'[Index])
RETURN
    CALCULATE(
        SUM('Release planner'[MCS]),
        FILTER(
            ALLSELECTED('Release planner'),
            'Release planner'[Index] &amp;lt;= currentIndex
        )
    )&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Many thanks already&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 08:08:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3391898#M127875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-22T08:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column filter dynamic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3391986#M127879</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2) We can create a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;total = SUMX(ALL('Release planner'[Index]),[MCS RT])&lt;/LI-CODE&gt;
&lt;P&gt;(3) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 08:39:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3391986#M127879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-22T08:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column filter dynamic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3392616#M127930</link>
      <description>&lt;P&gt;Yes this is what I want to achive, but as in the first space we created a measure for MCS so we can't use the SUM function in line 5 fro MCS RT.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 13:31:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-filter-dynamic/m-p/3392616#M127930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-22T13:31:57Z</dc:date>
    </item>
  </channel>
</rss>

