<?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 groups using Tabular Editor in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Calculated-groups-using-Tabular-Editor/m-p/2501414#M35974</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/373388"&gt;@pbi_wannabe_exp&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I think this scenario may be related to the 'all' function, it will ignore all filters on the table so it may conflict with getting the current field value. (max function are calculated on the fixed all table records and get static result)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/all-function-dax" target="_blank"&gt;ALL function (DAX) - DAX | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Have you tried to create a variable and move this type of operation out of the current calculation row context?&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;formual =
VAR currValue =
    MAX ( Calendar[Sprint Year CC] )
RETURN
    CALCULATE (
        SELECTEDMEASURE (),
        FILTER ( ALL ( Calendar ), [Sprint Year CC] &amp;lt;= currValue )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2022 08:33:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-09T08:33:25Z</dc:date>
    <item>
      <title>Calculated groups using Tabular Editor</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calculated-groups-using-Tabular-Editor/m-p/2498741#M35943</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The strange thing that I cant make one measure working. The first part of the calculation (Actual Sprint) shows correct data, but the second part which should be the previous sprint value, returns to the actual result. The result calculation should follow the red framed calculation (based on a sprint selector in PBI). I tried to modify -1 Sprint Wk CC to -5 or -3 etc., it doesn't show any difference. Any hints? Many thanks in advance!&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="first calc.jpg" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/710525iD5DF001A44A06720/image-size/large?v=v2&amp;amp;px=999" role="button" title="first calc.jpg" alt="first calc.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="second calc.jpg" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/710526iF65C071CB8F18E44/image-size/large?v=v2&amp;amp;px=999" role="button" title="second calc.jpg" alt="second calc.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="result.jpg" style="width: 577px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/710527i876588FAAAD843DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="result.jpg" alt="result.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 13:19:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calculated-groups-using-Tabular-Editor/m-p/2498741#M35943</guid>
      <dc:creator>pbi_wannabe_exp</dc:creator>
      <dc:date>2022-05-06T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated groups using Tabular Editor</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Calculated-groups-using-Tabular-Editor/m-p/2501414#M35974</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/373388"&gt;@pbi_wannabe_exp&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I think this scenario may be related to the 'all' function, it will ignore all filters on the table so it may conflict with getting the current field value. (max function are calculated on the fixed all table records and get static result)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/all-function-dax" target="_blank"&gt;ALL function (DAX) - DAX | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Have you tried to create a variable and move this type of operation out of the current calculation row context?&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;formual =
VAR currValue =
    MAX ( Calendar[Sprint Year CC] )
RETURN
    CALCULATE (
        SELECTEDMEASURE (),
        FILTER ( ALL ( Calendar ), [Sprint Year CC] &amp;lt;= currValue )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 08:33:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Calculated-groups-using-Tabular-Editor/m-p/2501414#M35974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-09T08:33:25Z</dc:date>
    </item>
  </channel>
</rss>

