<?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: Dax Help- Average or divide by Row in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4715856#M180623</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 04:31:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-06-02T04:31:27Z</dc:date>
    <item>
      <title>Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4691621#M179651</link>
      <description>&lt;P&gt;I have a merged query that has a one to many (Left Join) relationship.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data looks like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;Title&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;Amount&lt;BR /&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;115&amp;nbsp; &amp;nbsp;| Yellow&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;115&amp;nbsp; &amp;nbsp;| Yellow&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;120&amp;nbsp; &amp;nbsp;| Green&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with a Dax query that will Average or Divide the totals by the Count of the same ID values instead of suming all the amounts.&lt;BR /&gt;&lt;BR /&gt;The table visualization should look like&lt;BR /&gt;&lt;BR /&gt;113 | Red | 14.&amp;nbsp; &amp;nbsp;NOT&amp;nbsp;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 42&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 03:44:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4691621#M179651</guid>
      <dc:creator>red75116</dc:creator>
      <dc:date>2025-05-14T03:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4691632#M179652</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have tried with using average x and distinct ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 03:57:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4691632#M179652</guid>
      <dc:creator>Learner27</dc:creator>
      <dc:date>2025-05-14T03:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4692286#M179677</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;&amp;nbsp;, Try using&lt;/P&gt;
&lt;P&gt;AverageAmount = &lt;BR /&gt;DIVIDE(&lt;BR /&gt;SUM('Table'[Amount]),&lt;BR /&gt;COUNTROWS('Table')&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 10:21:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4692286#M179677</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-05-14T10:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4692981#M179707</link>
      <description>&lt;P&gt;Hello Bhanu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, but it is not providing the expected results.&amp;nbsp; There any many sets of records for "red" and it is taking the count of all the red records and dividing by them instead of grouping each ID number and dividing by them.&amp;nbsp; Sorry if I was not clear on the request.&lt;BR /&gt;&lt;BR /&gt;Another example&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;Title&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;Amount&lt;BR /&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;114&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;114&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;114&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 10&lt;BR /&gt;115&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would want to see 1 value or the average from the ID.&amp;nbsp; Should be 44 and it is giving me the total /&amp;nbsp; by all red rows (7) 13.14.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 17:50:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4692981#M179707</guid>
      <dc:creator>red75116</dc:creator>
      <dc:date>2025-05-14T17:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4692987#M179708</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;&amp;nbsp;please try this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Amount =&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(Sheet7[ID]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(Sheet7[Amount])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 May 2025 18:12:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4692987#M179708</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2025-05-14T18:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4693325#M179727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1275720" target="_self"&gt;&lt;SPAN class=""&gt;red75116&lt;/SPAN&gt;&lt;/A&gt;,&lt;BR /&gt;Can you try the below DAX:&lt;BR /&gt;&lt;BR /&gt;SumOfAvgPerID :=&lt;BR /&gt;SUMX(&lt;BR /&gt;VALUES( MyData[ID] ),&amp;nbsp;&lt;BR /&gt;CALCULATE(&lt;BR /&gt;AVERAGE( MyData[Amount] )&amp;nbsp;&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;SumOfAvgPerID =&lt;BR /&gt;SUMX(&lt;BR /&gt;SUMMARIZE(&lt;BR /&gt;MyData,&lt;BR /&gt;MyData[ID],&lt;BR /&gt;"AvgAmt", AVERAGE( MyData[Amount] )&lt;BR /&gt;),&lt;BR /&gt;[AvgAmt]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If this reply helped solve your problem, please consider clicking "Accept as Solution" so others can benefit too.&amp;nbsp;And if you found it useful, a quick "Kudos" is always appreciated, thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maruthi&amp;nbsp;&lt;/P&gt;&lt;P&gt;LinkedIn -&amp;nbsp;&lt;A href="http://www.linkedin.com/in/maruthi-siva-prasad/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.linkedin.com/in/maruthi-siva-prasad/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&lt;A href="https://x.com/maruthisp" target="_blank" rel="nofollow noopener noreferrer"&gt;Maruthi Siva Prasad - (@MaruthiSP) / X&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 05:10:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4693325#M179727</guid>
      <dc:creator>maruthisp</dc:creator>
      <dc:date>2025-05-15T05:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4693340#M179728</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P data-start="219" data-end="344"&gt;This is a common issue that occurs when working with merged queries involving one-to-many relationships.&lt;/P&gt;
&lt;P data-start="346" data-end="697"&gt;From what you’ve described, your table is showing multiple rows for the same ID due to a left join with another table that has multiple matches per ID. Because of this, when you look at the Amount field in your visual, it’s getting summed across all the duplicated rows which is why you're seeing inflated totals (like 14 * 3 = 42 for ID 113).&lt;/P&gt;
&lt;P data-start="699" data-end="863"&gt;Even though each instance of Amount is 14, it's repeated three times in the joined data, so Power BI is doing exactly what it's told summing all visible values.&lt;/P&gt;
&lt;P data-start="865" data-end="1003"&gt;To display just the original amount per ID, you'll need to use a DAX measure that removes the duplication effect. Here’s one way to do it:&lt;/P&gt;
&lt;P data-start="865" data-end="1003"&gt;Correct Amount :=&lt;BR /&gt;AVERAGEX(&lt;BR /&gt;VALUES(MergedTable[ID]),&lt;BR /&gt;CALCULATE(MAX(MergedTable[Amount]))&lt;BR /&gt;)&lt;/P&gt;
&lt;P data-start="865" data-end="1003"&gt;You can add this measure to your visual instead of the regular Amount field, and it should return the correct result per ID like 14 for ID 113 instead of 42.&lt;/P&gt;
&lt;P data-start="865" data-end="1003"&gt;I am also attaching my PBIX file. You can go through it and check if it works according to your requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also take a moment to thank&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="645372" data-lia-user-login="techies" class="lia-mention lia-mention-user"&gt;techies&lt;/a&gt;, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;and &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="583663" data-lia-user-login="Learner27" class="lia-mention lia-mention-user"&gt;Learner27&lt;/a&gt;, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Hammad.&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please mark it as a solution, so that other members find it more quickly.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 05:25:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4693340#M179728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-15T05:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4694496#M179786</link>
      <description>&lt;P&gt;I was able to get the right results by creating a merged table and grouping on these values, but it would better I think if i could work this out with a measure.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Your solution is providing the average amounts for all the ID records.&amp;nbsp; Instead of getting a valuue of 44, I am getting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;44/3 = 14.66&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;Title&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;Amount&lt;BR /&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;113&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;114&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;114&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;114&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 10&lt;BR /&gt;115&amp;nbsp; &amp;nbsp;| Red&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would want to see 1 value or the average from the ID.&amp;nbsp; Should be 44 and it is giving me the total /&amp;nbsp; by all red rows (7) 13.14.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 13:57:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4694496#M179786</guid>
      <dc:creator>red75116</dc:creator>
      <dc:date>2025-05-15T13:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4694841#M179807</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;&amp;nbsp;as i understand, please check this measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sum of Per-ID Averages =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sheet7&lt;/SPAN&gt;&lt;SPAN&gt;[ID]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sheet7&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;sheet7&lt;/SPAN&gt;&lt;SPAN&gt;[ID]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;EARLIER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;sheet7&lt;/SPAN&gt;&lt;SPAN&gt;[ID]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;sheet7&lt;/SPAN&gt;&lt;SPAN&gt;[Amount]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 May 2025 18:04:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4694841#M179807</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2025-05-15T18:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4698186#M179959</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.&lt;/P&gt;
&lt;P&gt;If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.&lt;BR /&gt;Thank you for your patience and look forward to hearing from you.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 09:54:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4698186#M179959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-19T09:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4698740#M179983</link>
      <description>&lt;P&gt;Hi these solutions provided are still not returning the expected results.&amp;nbsp; The workaround is not a DAX solution, but actually merging queries and grouping by the ID and Title.&lt;BR /&gt;&lt;BR /&gt;I still be would be interested in geetting the Dax correct so that I could get this working without having to create another table.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 14:58:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4698740#M179983</guid>
      <dc:creator>red75116</dc:creator>
      <dc:date>2025-05-19T14:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4706250#M180239</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;,&lt;/P&gt;
&lt;P data-start="1416" data-end="1464"&gt;Thanks for the clarification. You are right that "AVERAGEX(VALUES(...))" ends up averaging across distinct IDs, which can lead to unexpected results if your visual still includes multiple duplicate rows. In your case, since the same ID (like 113) appears multiple times due to the join, we need a DAX measure that returns the original amount per ID, and consistently displays it across all duplicate rows.&lt;/P&gt;
&lt;P data-start="1416" data-end="1464"&gt;Try this measure once:&lt;BR /&gt;Correct Amount :=&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MAX(MergedTable[Amount]),&lt;BR /&gt;ALLEXCEPT(MergedTable, MergedTable[ID])&lt;BR /&gt;)&lt;/P&gt;
&lt;P data-start="1416" data-end="1464"&gt;This "MAX(MergedTable[Amount])" will&amp;nbsp;get the original amount per ID (assuming the value is consistent) and "ALLEXCEPT(...)" removes any filters except for ID, so that even if the same ID appears multiple times in the visual, you’ll get the same value for each row.&lt;/P&gt;
&lt;P data-start="2283" data-end="2302"&gt;This should return 14 for all rows with ID 113, 10 for all rows with ID 114 and 20 for ID 115.&lt;/P&gt;
&lt;P data-start="2283" data-end="2302"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Hammad.&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2025 12:46:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4706250#M180239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-25T12:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4712641#M180485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 15:09:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4712641#M180485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-29T15:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Help- Average or divide by Row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4715856#M180623</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1275720" data-lia-user-login="red75116" class="lia-mention lia-mention-user"&gt;red75116&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 04:31:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Help-Average-or-divide-by-Row/m-p/4715856#M180623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-02T04:31:27Z</dc:date>
    </item>
  </channel>
</rss>

