<?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: Drill up from Month to Quarter, the percentages are showing as a cumulative instead of average val in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Drill-up-from-Month-to-Quarter-the-percentages-are-showing-as-a/m-p/3577061#M137933</link>
    <description>&lt;P&gt;Plz can you share the PBIX file ?&lt;/P&gt;&lt;P&gt;OR plz chek the below suggestion&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check your Data Model:&lt;/STRONG&gt; Ensure that your data model is properly structured, and you have a clear relationship between the Month and Quarter tables.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use AVERAGEX Function:&lt;/STRONG&gt; If you're using a measure to calculate the percentage, modify it to use the AVERAGEX function. For example, if you have a measure called "Percentage," it might look like this initially:&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Percentage = SUM('YourTable'[Value]) / SUM('YourTable'[Total])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Change it to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Average_Percentage = AVERAGEX(VALUES('YourTable'[Month]), [Percentage])&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;This modification ensures that the percentage is averaged over the months.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Consider Time Intelligence Functions:&lt;/STRONG&gt; If you're dealing with time-based data, Power BI has built-in Time Intelligence functions. You might use functions like TOTALYTD, TOTALQTD, or TOTALMTD instead of simple aggregation. For example:&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Average_Percentage = DIVIDE([Percentage], CALCULATE([Percentage], ALL('YourTable'[Month])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;This example uses the DIVIDE function to calculate the average percentage.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Adjust Visualization Settings:&lt;/STRONG&gt; Sometimes, the issue might be in the visualization settings. For certain visualizations, you can set the aggregation method. For instance, if you're using a table or matrix, you can adjust the value field settings.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Review Aggregation in Relationships:&lt;/STRONG&gt; Ensure that the relationships between your tables are set up correctly. Sometimes, the default behavior of aggregation is influenced by the relationships in the data model.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use DAX to Control Aggregation:&lt;/STRONG&gt; You can explicitly control aggregation using DAX functions like SUMX or AVERAGEX in your measures.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Remember to replace 'YourTable' and 'YourColumn' with your actual table and column names. The exact solution depends on your specific data model and calculations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In case there is still a problem, please feel free and explain your issue in detail,&amp;nbsp;It will be my pleasure to assist you in any way I can.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 07:56:35 GMT</pubDate>
    <dc:creator>123abc</dc:creator>
    <dc:date>2023-12-11T07:56:35Z</dc:date>
    <item>
      <title>Drill up from Month to Quarter, the percentages are showing as a cumulative instead of average val</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Drill-up-from-Month-to-Quarter-the-percentages-are-showing-as-a/m-p/3576854#M137922</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I drill up from Month to Quarter, the percentages are showing as a cumulative instead of average value. Kindly help me to fix this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After drill up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dateset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Mon, 11 Dec 2023 05:50:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Drill-up-from-Month-to-Quarter-the-percentages-are-showing-as-a/m-p/3576854#M137922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-11T05:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Drill up from Month to Quarter, the percentages are showing as a cumulative instead of average val</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Drill-up-from-Month-to-Quarter-the-percentages-are-showing-as-a/m-p/3577061#M137933</link>
      <description>&lt;P&gt;Plz can you share the PBIX file ?&lt;/P&gt;&lt;P&gt;OR plz chek the below suggestion&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Check your Data Model:&lt;/STRONG&gt; Ensure that your data model is properly structured, and you have a clear relationship between the Month and Quarter tables.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use AVERAGEX Function:&lt;/STRONG&gt; If you're using a measure to calculate the percentage, modify it to use the AVERAGEX function. For example, if you have a measure called "Percentage," it might look like this initially:&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Percentage = SUM('YourTable'[Value]) / SUM('YourTable'[Total])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Change it to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Average_Percentage = AVERAGEX(VALUES('YourTable'[Month]), [Percentage])&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;This modification ensures that the percentage is averaged over the months.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Consider Time Intelligence Functions:&lt;/STRONG&gt; If you're dealing with time-based data, Power BI has built-in Time Intelligence functions. You might use functions like TOTALYTD, TOTALQTD, or TOTALMTD instead of simple aggregation. For example:&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Average_Percentage = DIVIDE([Percentage], CALCULATE([Percentage], ALL('YourTable'[Month])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;This example uses the DIVIDE function to calculate the average percentage.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Adjust Visualization Settings:&lt;/STRONG&gt; Sometimes, the issue might be in the visualization settings. For certain visualizations, you can set the aggregation method. For instance, if you're using a table or matrix, you can adjust the value field settings.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Review Aggregation in Relationships:&lt;/STRONG&gt; Ensure that the relationships between your tables are set up correctly. Sometimes, the default behavior of aggregation is influenced by the relationships in the data model.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use DAX to Control Aggregation:&lt;/STRONG&gt; You can explicitly control aggregation using DAX functions like SUMX or AVERAGEX in your measures.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Remember to replace 'YourTable' and 'YourColumn' with your actual table and column names. The exact solution depends on your specific data model and calculations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In case there is still a problem, please feel free and explain your issue in detail,&amp;nbsp;It will be my pleasure to assist you in any way I can.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 07:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Drill-up-from-Month-to-Quarter-the-percentages-are-showing-as-a/m-p/3577061#M137933</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2023-12-11T07:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Drill up from Month to Quarter, the percentages are showing as a cumulative instead of average val</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Drill-up-from-Month-to-Quarter-the-percentages-are-showing-as-a/m-p/3577561#M137957</link>
      <description>&lt;P&gt;Hi, Thank you so much for the suggestion. I was able to fix the issue. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 13:07:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Drill-up-from-Month-to-Quarter-the-percentages-are-showing-as-a/m-p/3577561#M137957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-11T13:07:51Z</dc:date>
    </item>
  </channel>
</rss>

