<?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: Performance issue with AVERAGEX and SUMMARIZE in Power BI DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4702910#M180125</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="910248" data-lia-user-login="user_guddu10" class="lia-mention lia-mention-user"&gt;user_guddu10&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I also work on Climate and ESG report. We follow unpivot approach and then provide scope slicer so that user can select any scope which he wants. Once you unpivot the scope columns you will get scope 1, scope 2 so on in rows and provide multiselect slicer option to users so that they can choose multiple values.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you still need any help create a sample mock data and expected output. Definately we can figure out simple approach rather than making it complicated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 May 2025 07:00:00 GMT</pubDate>
    <dc:creator>pravinW007</dc:creator>
    <dc:date>2025-05-22T07:00:00Z</dc:date>
    <item>
      <title>Performance issue with AVERAGEX and SUMMARIZE in Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4699172#M180000</link>
      <description>&lt;P class=""&gt;Hi all,&lt;/P&gt;&lt;P class=""&gt;I'm running into a performance issue with a DAX measure in Power BI and would appreciate some help.&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":small_blue_diamond:"&gt;🔹&lt;/span&gt; Context:&lt;/H3&gt;&lt;P class=""&gt;I’m working with a combined table called benchmarking_combined_data that merges &lt;STRONG&gt;internal ESG company data&lt;/STRONG&gt; and &lt;STRONG&gt;external listed company data&lt;/STRONG&gt;.&lt;/P&gt;&lt;P class=""&gt;Each row includes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;company_name&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;report_year&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;survey_year (blank for listed companies)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;revenue_usd&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;scope1, scope2, scope3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":small_blue_diamond:"&gt;🔹&lt;/span&gt; Source Selection Logic:&lt;/H3&gt;&lt;P class=""&gt;To control which data is shown in visuals and calculations, I use a slicer from a separate table SourceSelector[Source] with values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;ESG&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Listed&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Both&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;In &lt;STRONG&gt;Power Query&lt;/STRONG&gt;, I manually added a Source column to both original datasets:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;ESG data: Source = "ESG"&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Listed data: Source = "Listed"&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;These tables were then &lt;STRONG&gt;appended into benchmarking_combined_data&lt;/STRONG&gt;, and the Source column is used to dynamically filter data based on the slicer selection (via SELECTEDVALUE(SourceSelector[Source]) in measures).&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":small_blue_diamond:"&gt;🔹&lt;/span&gt; Scope Selection Logic:&lt;/H3&gt;&lt;P class=""&gt;I also have a ScopeSelector[ScopeName] slicer to let users select:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Scope 1&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Scope 2&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Scope 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Emissions are computed based on which scopes are selected.&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":magnifying_glass_tilted_left:"&gt;🔍&lt;/span&gt; The Problematic Measure:&lt;/H3&gt;&lt;P class=""&gt;This measure calculates the &lt;STRONG&gt;average emissions per revenue (per $M)&lt;/STRONG&gt; across companies and years. It filters by source and scope, computes per-row ratios, and averages them (excluding ratios &amp;lt; 0.1).&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Combined Benchmark Avg Emissions Per Revenue (per mil) =
VAR _SelectedSource = SELECTEDVALUE(SourceSelector[Source], "ESG")

RETURN
AVERAGEX(
    SUMMARIZE(
        FILTER(
            benchmarking_combined_data,
            SWITCH(
                _SelectedSource,
                "ESG", benchmarking_combined_data[Source] = "ESG",
                "Listed", benchmarking_combined_data[Source] = "Listed",
                "Both", TRUE()
            )
        ),
        benchmarking_combined_data[company_name],
        benchmarking_combined_data[report_year],
        "Total Emissions B", [Combined Benchmark Total Emissions],
        "Total Revenue B", [Combined Benchmark Revenue by Report Year]
    ),
    VAR Emissions = [Total Emissions B]
    VAR Revenue = [Total Revenue B]
    VAR PerMillion = DIVIDE(Emissions, Revenue / 1000000, 0)
    RETURN IF(PerMillion &amp;gt;= 0.1, PerMillion, BLANK())
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":gear:"&gt;⚙️&lt;/span&gt; Supporting Measures:&lt;/H3&gt;&lt;H4&gt;[Combined Benchmark Total Emissions]&lt;/H4&gt;&lt;P class=""&gt;Adds together the relevant scopes selected in the slicer:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Combined Benchmark Total Emissions =
VAR _SelectedScopes = VALUES(ScopeSelector[ScopeName])
VAR _Scope1 = IF(CONTAINS(_SelectedScopes, ScopeSelector[ScopeName], "Scope 1"), [Combined Benchmark Total Scope1 Latest Survey Year], 0)
VAR _Scope2 = IF(CONTAINS(_SelectedScopes, ScopeSelector[ScopeName], "Scope 2"), [Combined Benchmark Total Scope2 Latest Survey Year], 0)
VAR _Scope3 = IF(CONTAINS(_SelectedScopes, ScopeSelector[ScopeName], "Scope 3"), [Combined Benchmark Total Scope3 Latest Survey Year], 0)
RETURN _Scope1 + _Scope2 + _Scope3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Each scope submeasure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;For &lt;STRONG&gt;ESG&lt;/STRONG&gt;: uses the &lt;STRONG&gt;latest survey_year&lt;/STRONG&gt; per company per report year&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;For &lt;STRONG&gt;Listed&lt;/STRONG&gt;: uses values directly from the report year&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;H4&gt;[Combined Benchmark Revenue by Report Year]&lt;/H4&gt;&lt;P class=""&gt;Returns revenue using similar logic (not dependent on survey year):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Combined Benchmark Revenue by Report Year =
VAR _SelectedSource = SELECTEDVALUE(SourceSelector[Source], "ESG")

VAR _BaseValueESG =
    SUMX(
        VALUES(benchmarking_combined_data[report_year]),
        VAR MaxSurveyYear =
            CALCULATE(
                MAX(benchmarking_combined_data[survey_year]),
                benchmarking_combined_data[Source] = "ESG",
                ALLEXCEPT(benchmarking_combined_data, benchmarking_combined_data[company_name], benchmarking_combined_data[report_year])
            )
        RETURN
            CALCULATE(
                MAX(benchmarking_combined_data[revenue_usd]),
                FILTER(
                    benchmarking_combined_data,
                    benchmarking_combined_data[survey_year] = MaxSurveyYear &amp;amp;&amp;amp;
                    benchmarking_combined_data[Source] = "ESG"
                ),
                ALLEXCEPT(benchmarking_combined_data, benchmarking_combined_data[company_name], benchmarking_combined_data[report_year])
            )
    )

VAR _BaseValueListed =
    CALCULATE(
        SUM(benchmarking_combined_data[revenue_usd]),
        benchmarking_combined_data[Source] = "Listed"
    )

RETURN
SWITCH(
    _SelectedSource,
    "ESG", _BaseValueESG,
    "Listed", _BaseValueListed,
    "Both", _BaseValueESG + _BaseValueListed
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;🧪 Problem:&lt;/H3&gt;&lt;P class=""&gt;When I &lt;STRONG&gt;change either the SourceSelector or ScopeSelector&lt;/STRONG&gt;, this emissions/revenue measure takes up to &lt;STRONG&gt;5 minutes&lt;/STRONG&gt; to refresh in my matrix visual.&lt;/P&gt;&lt;P class=""&gt;If I remove this measure, everything runs instantly.&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":question_mark:"&gt;❓&lt;/span&gt; My Question:&lt;/H3&gt;&lt;P class=""&gt;How can I &lt;STRONG&gt;optimize this AVERAGEX-based measure&lt;/STRONG&gt; so that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;It retains the per-company emissions/revenue logic&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;It respects both slicers (SourceSelector and ScopeSelector)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;It still excludes ratios under 0.1&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;It performs much faster for interactive use?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Would restructuring or precalculating any parts of the logic help?&lt;/P&gt;&lt;P class=""&gt;Any performance-focused advice is much appreciated — thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 03:24:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4699172#M180000</guid>
      <dc:creator>user_guddu10</dc:creator>
      <dc:date>2025-05-20T03:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with AVERAGEX and SUMMARIZE in Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4699363#M180012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="910248" data-lia-user-login="user_guddu10" class="lia-mention lia-mention-user"&gt;user_guddu10&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;You can use Unpivot other columns transformatation on scope columns so that you will get two column scope and value. Scope will have values like scope 1, scope 2, scope 3. You can use this in dropdown to dynamically select scope and use simple measure avg(value). This approach is more efficient than yours.&lt;BR /&gt;Thanks,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 06:10:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4699363#M180012</guid>
      <dc:creator>pravinW007</dc:creator>
      <dc:date>2025-05-20T06:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with AVERAGEX and SUMMARIZE in Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4702495#M180105</link>
      <description>&lt;P&gt;Hi Pravin,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the suggestion — unpivoting the scope columns is definitely a great approach in many cases and can simplify the model when you only need to work with one scope at a time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In my case, though, I need to allow users to select &lt;STRONG&gt;multiple scopes at once&lt;/STRONG&gt; (e.g., Scope 1 + Scope 2 + Scope 3) using a slicer, and the measure then dynamically adds those selected scopes together. I also have &lt;STRONG&gt;source-specific logic&lt;/STRONG&gt; — for example, ESG data requires selecting the value for the &lt;STRONG&gt;latest survey year&lt;/STRONG&gt;, whereas Listed data uses the value directly from the report year. That logic is applied differently depending on the selected source and scope.&lt;/P&gt;&lt;P&gt;With an unpivoted structure, it becomes quite difficult to apply this kind of dynamic multi-scope and per-source logic efficiently. So I’m sticking with the current wide format (scope1, scope2, scope3 as separate columns), which better supports my model requirements.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But I really appreciate your input — it’s a solid approach for models that don’t need this level of complexity.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 00:37:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4702495#M180105</guid>
      <dc:creator>user_guddu10</dc:creator>
      <dc:date>2025-05-22T00:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with AVERAGEX and SUMMARIZE in Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4702910#M180125</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="910248" data-lia-user-login="user_guddu10" class="lia-mention lia-mention-user"&gt;user_guddu10&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I also work on Climate and ESG report. We follow unpivot approach and then provide scope slicer so that user can select any scope which he wants. Once you unpivot the scope columns you will get scope 1, scope 2 so on in rows and provide multiselect slicer option to users so that they can choose multiple values.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you still need any help create a sample mock data and expected output. Definately we can figure out simple approach rather than making it complicated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pravin Wattamwar&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 07:00:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4702910#M180125</guid>
      <dc:creator>pravinW007</dc:creator>
      <dc:date>2025-05-22T07:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with AVERAGEX and SUMMARIZE in Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4705074#M180202</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="910248" data-lia-user-login="user_guddu10" class="lia-mention lia-mention-user"&gt;user_guddu10&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.&lt;/P&gt;
&lt;P&gt;If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Chaithanya&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 11:45:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4705074#M180202</guid>
      <dc:creator>v-kathullac</dc:creator>
      <dc:date>2025-05-23T11:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with AVERAGEX and SUMMARIZE in Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4706427#M180248</link>
      <description>&lt;P&gt;Thank you for your reply again! Posting mock data below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Company&lt;/TD&gt;&lt;TD&gt;Report year&lt;/TD&gt;&lt;TD&gt;Survey year&lt;/TD&gt;&lt;TD&gt;Revenue&lt;/TD&gt;&lt;TD&gt;Scope1&lt;/TD&gt;&lt;TD&gt;Scope2&lt;/TD&gt;&lt;TD&gt;Scope3&lt;/TD&gt;&lt;TD&gt;Source&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Alpha Corp&lt;/TD&gt;&lt;TD&gt;2022&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;100,000,000&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;ESG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Alpha Corp&lt;/TD&gt;&lt;TD&gt;2022&lt;/TD&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;(blank)&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;450&lt;/TD&gt;&lt;TD&gt;290&lt;/TD&gt;&lt;TD&gt;210&lt;/TD&gt;&lt;TD&gt;ESG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Alpha Corp&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;120,000,000&lt;/TD&gt;&lt;TD&gt;550&lt;/TD&gt;&lt;TD&gt;320&lt;/TD&gt;&lt;TD&gt;250&lt;/TD&gt;&lt;TD&gt;ESG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Beta Ltd&lt;/TD&gt;&lt;TD&gt;2022&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;85,000,000&lt;/TD&gt;&lt;TD&gt;400&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;ESG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Beta Ltd&lt;/TD&gt;&lt;TD&gt;2022&lt;/TD&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;88,000,000&lt;/TD&gt;&lt;TD&gt;410&lt;/TD&gt;&lt;TD&gt;210&lt;/TD&gt;&lt;TD&gt;110&lt;/TD&gt;&lt;TD&gt;ESG&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Gamma Inc&lt;/TD&gt;&lt;TD&gt;2023&lt;/TD&gt;&lt;TD&gt;2024&lt;/TD&gt;&lt;TD&gt;75,000,000&lt;/TD&gt;&lt;TD&gt;300&lt;/TD&gt;&lt;TD&gt;150&lt;/TD&gt;&lt;TD&gt;120&lt;/TD&gt;&lt;TD&gt;Listed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;&lt;span class="lia-unicode-emoji" title=":magnifying_glass_tilted_left:"&gt;🔍&lt;/span&gt;Key Issues Shown in This Mock Data&lt;/H2&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Duplicate report_year for same company (e.g., Alpha Corp, 2022)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Two survey years: 2023 (has revenue), 2024 (latest, but missing revenue)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;If Power Query only keeps latest survey_year&lt;/STRONG&gt;, you lose the row with revenue (2023), and totals are wrong&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Emissions values also vary&lt;/STRONG&gt;, so you may lose higher-quality scope data when selecting only by survey year&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sun, 25 May 2025 23:32:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4706427#M180248</guid>
      <dc:creator>user_guddu10</dc:creator>
      <dc:date>2025-05-25T23:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with AVERAGEX and SUMMARIZE in Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4707063#M180276</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="910248" data-lia-user-login="user_guddu10" class="lia-mention lia-mention-user"&gt;user_guddu10&lt;/a&gt;&amp;nbsp; only upivot Scope related columns. Post that you will have duplicates of revenue and you can handle that using Summarize and SUMx..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pravin Wattamwar&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 08:39:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Performance-issue-with-AVERAGEX-and-SUMMARIZE-in-Power-BI-DAX/m-p/4707063#M180276</guid>
      <dc:creator>pravinW007</dc:creator>
      <dc:date>2025-05-26T08:39:13Z</dc:date>
    </item>
  </channel>
</rss>

