<?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: Help with DAX Query- RSCustomDaxFilter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Query-RSCustomDaxFilter/m-p/2863181#M92239</link>
    <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="147145" data-lia-user-login="Jayasreeb" class="lia-mention lia-mention-user"&gt;Jayasreeb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on my research and search, you can refer to this document for Query designer's query to specify limits to check if it helps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/report-data/build-a-query-in-the-relational-query-designer-report-builder-and-ssrs?view=sql-server-ver15#to-specify-limits-for-a-query" target="_blank"&gt;Build a Query in the Relational Query Designer (Report Builder and SSRS - SQL Server Reporting Services (SSRS) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Our team of engineers have also explained whether Query designer is not recommended or should be removed, you can check out this issue forum post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Issues/Query-Designer-is-a-bug-and-should-be-removed-commented-out/idi-p/2326628" target="_blank"&gt;https://community.powerbi.com/t5/Issues/Query-Designer-is-a-bug-and-should-be-removed-commented-out/idi-p/2326628&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2022 02:29:49 GMT</pubDate>
    <dc:creator>v-yueyunzh-msft</dc:creator>
    <dc:date>2022-10-26T02:29:49Z</dc:date>
    <item>
      <title>Help with DAX Query- RSCustomDaxFilter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Query-RSCustomDaxFilter/m-p/2862379#M92211</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help with DAX Query. I am using Paginatedreports for PowerBI reports export functionality.&lt;/P&gt;&lt;P&gt;In PowerBI, I am planning to pass 3 parameters(&lt;STRONG&gt;multi valued parameters&lt;/STRONG&gt;)&amp;nbsp; in a URL for a PaginatedReport export .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the query I generated using Query designer&amp;nbsp;in paginated report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;EVALUATE&lt;/SPAN&gt; &lt;SPAN&gt;SUMMARIZECOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'DealerDim'[OrganizationCode]&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;'DealerDim'[OrganizationName]&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;'DealerDim'[City]&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;'DealerDim'[State]&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN&gt;'InventoryFact'[TotalParts]&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN&gt;'InventoryFact'[TotalSKUs]&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;'InventoryFact'[InventoryValue]&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;'PartsDim'[PartNumber]&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;'PartsDim&lt;/SPAN&gt;&lt;SPAN&gt;'[PartDescription]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RSCustomDaxFilter(@City,EqualToCondition,[DealerDim].[City],String),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;RSCustomDaxFilter(@OrganizationCode,EqualToCondition,[DealerDim].[OrganizationCode],String),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;RSCustomDaxFilter(@PartNumber,EqualToCondition,[&lt;SPAN&gt;PartsDim&lt;/SPAN&gt;].[PartNumber],String),&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When a user selects All for&amp;nbsp;&lt;STRONG&gt;@PartNumber &lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;the URL length is too long and erroring out. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So I am planning to send "ALL" value to @@PartNumber&amp;nbsp;parameter when the user chooses SelectALL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Requirement&lt;/STRONG&gt; -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So whenver I pass &lt;STRONG&gt;ALL&lt;/STRONG&gt; value to&amp;nbsp;@&lt;STRONG&gt;PartNumber &amp;nbsp;&lt;/STRONG&gt;parameter, I want following piece of line to be ignored or not executed &lt;STRONG&gt;RSCustomDaxFilter(@PartNumber,EqualToCondition,[&lt;SPAN&gt;PartsDim&lt;/SPAN&gt;].[PartNumber],String),&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;I tried to use IF condition and OR function. But nothing seems to be working for me.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also, I see few articles suggesting to not to use&amp;nbsp;Query designer in PaginatedReport builder to generate DAX query. Any input on that?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any help with this is greatly appreciated .&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 17:06:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Query-RSCustomDaxFilter/m-p/2862379#M92211</guid>
      <dc:creator>Jayasreeb</dc:creator>
      <dc:date>2022-10-25T17:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX Query- RSCustomDaxFilter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Query-RSCustomDaxFilter/m-p/2863181#M92239</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="147145" data-lia-user-login="Jayasreeb" class="lia-mention lia-mention-user"&gt;Jayasreeb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on my research and search, you can refer to this document for Query designer's query to specify limits to check if it helps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/report-data/build-a-query-in-the-relational-query-designer-report-builder-and-ssrs?view=sql-server-ver15#to-specify-limits-for-a-query" target="_blank"&gt;Build a Query in the Relational Query Designer (Report Builder and SSRS - SQL Server Reporting Services (SSRS) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Our team of engineers have also explained whether Query designer is not recommended or should be removed, you can check out this issue forum post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Issues/Query-Designer-is-a-bug-and-should-be-removed-commented-out/idi-p/2326628" target="_blank"&gt;https://community.powerbi.com/t5/Issues/Query-Designer-is-a-bug-and-should-be-removed-commented-out/idi-p/2326628&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 02:29:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-Query-RSCustomDaxFilter/m-p/2863181#M92239</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2022-10-26T02:29:49Z</dc:date>
    </item>
  </channel>
</rss>

