<?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: What could be the equivalent DAX of this Power Pivot Search in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-could-be-the-equivalent-DAX-of-this-Power-Pivot-Search/m-p/3749885#M146270</link>
    <description>&lt;P&gt;ALLEXCEPT removes all other filters. It does not modify the filters on your selected columns.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure what this has to do with search?&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 23:27:57 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-03-07T23:27:57Z</dc:date>
    <item>
      <title>What could be the equivalent DAX of this Power Pivot Search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-could-be-the-equivalent-DAX-of-this-Power-Pivot-Search/m-p/3749567#M146249</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my power pivot table I can use the below fields to search my result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filters: Name, Category&lt;/P&gt;&lt;P&gt;Rows: Year&lt;/P&gt;&lt;P&gt;Values: Sum of Rate&lt;BR /&gt;&lt;BR /&gt;Now, what could be the equivalent DAX for this search technique?&lt;BR /&gt;&lt;BR /&gt;I&amp;nbsp; tried&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;DAX_SUM = Calculate(Sum(Table[Rate]),
Allexcept(Table,
Tabel[Name],
Table[Year],
Table[Category]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my DAX, if I do not summarize the DAX_SUM then I can see the summation for each year, name, and category is okay. But, if I use the Sum of DAX_SUM it is showing very big summation number.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 19:52:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-could-be-the-equivalent-DAX-of-this-Power-Pivot-Search/m-p/3749567#M146249</guid>
      <dc:creator>0Experience</dc:creator>
      <dc:date>2024-03-07T19:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: What could be the equivalent DAX of this Power Pivot Search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-could-be-the-equivalent-DAX-of-this-Power-Pivot-Search/m-p/3749885#M146270</link>
      <description>&lt;P&gt;ALLEXCEPT removes all other filters. It does not modify the filters on your selected columns.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure what this has to do with search?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 23:27:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-could-be-the-equivalent-DAX-of-this-Power-Pivot-Search/m-p/3749885#M146270</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-07T23:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: What could be the equivalent DAX of this Power Pivot Search</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-could-be-the-equivalent-DAX-of-this-Power-Pivot-Search/m-p/3789020#M148042</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="678938" data-lia-user-login="0Experience" class="lia-mention lia-mention-user"&gt;0Experience&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The method you are currently using and is usually correct to preserve the context of the specified column when summarizing the Rate. However, as Ibendlin said, there is a problem with context, and the problem of incorrect sums when using "DAX_SUM sum" can stem from the way the sum is calculated across the entire dataset without the expected context, and there is an improved approach here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DAX_SUM = SUMX(
    VALUES(Table[Name]) * VALUES(Table[Year]) * VALUES(Table[Category]),
    CALCULATE(SUM(Table[Rate]))
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 6.0pt 0cm 0cm 0cm;"&gt;&lt;SPAN&gt;&lt;A title="https://community.powerbi.com/t5/community-blog/how-to-get-your-question-answered-quickly/ba-p/38490" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-yohua%40microsoft.com%7Ce1106bfabecb4734a5cc08dc2305bc51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638423754744679080%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=24%2BceC5sFd3n3%2FhFDYILWFcNjCwVClBD%2BPBsSLVfJGk%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 09:22:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/What-could-be-the-equivalent-DAX-of-this-Power-Pivot-Search/m-p/3789020#M148042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-25T09:22:22Z</dc:date>
    </item>
  </channel>
</rss>

