<?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 Analyzer Query with 2 Parameters Run ok in DAX Studio, No Rows Found in Report Builder in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2041877#M20717</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My apologies, I pasted something i edited from the clipboard&lt;/P&gt;&lt;P&gt;This is the correct query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// DAX Query&lt;BR /&gt;DEFINE&lt;BR /&gt;VAR __DS0FilterTable =&lt;BR /&gt;TREATAS({@Location}, 'CSLOCATION'[Location])&lt;/P&gt;&lt;P&gt;VAR __DS0FilterTable2 =&lt;BR /&gt;FILTER(&lt;BR /&gt;KEEPFILTERS(VALUES('Date Dim'[Date])), 'Date Dim'[YYYY/MM]= @Date)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;VAR __DS0Core =&lt;BR /&gt;SUMMARIZECOLUMNS(&lt;BR /&gt;'CSPDETAILS'[Criteria],&lt;BR /&gt;__DS0FilterTable,&lt;BR /&gt;__DS0FilterTable2,&lt;BR /&gt;"Score", 'RM'[Score],&lt;BR /&gt;"Result", IGNORE('RM'[Result]),&lt;BR /&gt;"Color", IGNORE('RM'[Color])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;VAR __DS0PrimaryWindowed =&lt;BR /&gt;TOPN(1001, __DS0Core, [Score], 0, 'CSPDETAILS'[Criteria], 1)&lt;/P&gt;&lt;P&gt;EVALUATE&lt;BR /&gt;__DS0PrimaryWindowed&lt;/P&gt;&lt;P&gt;ORDER BY&lt;BR /&gt;[Score] DESC, 'CSPDETAILS'[Criteria]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to report builder and don't understand what you mean by extra formatting going on.&lt;BR /&gt;I will appreciate your kind assistance.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Aug 2021 04:47:32 GMT</pubDate>
    <dc:creator>ugoriuko</dc:creator>
    <dc:date>2021-08-27T04:47:32Z</dc:date>
    <item>
      <title>Performance Analyzer Query with 2 Parameters Run ok in DAX Studio, No Rows Found in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2033906#M20667</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below Query runs&amp;nbsp; perfectly in DAX Studio, But returns no rows found in Report Builder.&lt;/P&gt;&lt;P&gt;I am passing the report Parameters&amp;nbsp;@Location and @Date as the query parameters&lt;/P&gt;&lt;P&gt;What am I Possibly not doing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// DAX Query&lt;BR /&gt;DEFINE&lt;BR /&gt;VAR __DS0FilterTable =&lt;BR /&gt;TREATAS({@Location}, 'CSLOCATION'[Location])&lt;/P&gt;&lt;P&gt;VAR __DS0FilterTable2 =&lt;BR /&gt;FILTER(&lt;BR /&gt;KEEPFILTERS(VALUES('Date Dim'[Date])), 'Date Dim'[YYYY/MM]= @Date)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;VAR __DS0Core =&lt;BR /&gt;SUMMARIZECOLUMNS(&lt;BR /&gt;'CSPDETAILS'[Criteria],&lt;BR /&gt;__DS0FilterTable,&lt;BR /&gt;__DS0FilterTable2,&lt;BR /&gt;"Score", 'RM'[Score],&lt;BR /&gt;"Result", IGNORE('RM'[Result]),&lt;BR /&gt;"Color", IGNORE('RM'[Color])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;VAR __DS0PrimaryWindowed =&lt;BR /&gt;TOPN(1001, __DS0Core, [Score], 0, 'CSPDETAILS'[Criteria], 1)&lt;/P&gt;&lt;P&gt;EVALUATE&lt;BR /&gt;__DS0PrimaryWindowed&lt;/P&gt;&lt;P&gt;ORDER BY&lt;BR /&gt;[Score] DESC, 'CSPDETAILS'[Criteria]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 05:16:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2033906#M20667</guid>
      <dc:creator>ugoriuko</dc:creator>
      <dc:date>2021-08-24T05:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Analyzer Query with 2 Parameters Run ok in DAX Studio, No Rows Found in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2034491#M20670</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="321667" data-lia-user-login="ugoriuko" class="lia-mention lia-mention-user"&gt;ugoriuko&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The below Query runs on DAX Studio, But returns no rows found in Report Builder.&lt;/P&gt;
&lt;P&gt;I am passing the report Parameters&amp;nbsp;@Location and @Date as the query parameters&lt;/P&gt;
&lt;P&gt;What am I Possibly not doing?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I can't see how it could run in DAX Studio since your expression for&amp;nbsp;&lt;SPAN&gt;__DS0FilterTable2 is not valid. It includes an extra unmatched closing parathesis and you can't filter using the [YYYY/MM] column when the table you are filtering only contains the values from the [Date] column.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you can run an All Queries trace against your data source you should be able to capture the full query including the parameter XML block when you run from Report Builder, then you should be able to see what values Report Builder is passing through. Maybe there is some extra formatting happening somewhere and the parameters values are being passed differently to what you expected.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 09:09:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2034491#M20670</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2021-08-24T09:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Analyzer Query with 2 Parameters Run ok in DAX Studio, No Rows Found in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2041877#M20717</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My apologies, I pasted something i edited from the clipboard&lt;/P&gt;&lt;P&gt;This is the correct query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// DAX Query&lt;BR /&gt;DEFINE&lt;BR /&gt;VAR __DS0FilterTable =&lt;BR /&gt;TREATAS({@Location}, 'CSLOCATION'[Location])&lt;/P&gt;&lt;P&gt;VAR __DS0FilterTable2 =&lt;BR /&gt;FILTER(&lt;BR /&gt;KEEPFILTERS(VALUES('Date Dim'[Date])), 'Date Dim'[YYYY/MM]= @Date)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;VAR __DS0Core =&lt;BR /&gt;SUMMARIZECOLUMNS(&lt;BR /&gt;'CSPDETAILS'[Criteria],&lt;BR /&gt;__DS0FilterTable,&lt;BR /&gt;__DS0FilterTable2,&lt;BR /&gt;"Score", 'RM'[Score],&lt;BR /&gt;"Result", IGNORE('RM'[Result]),&lt;BR /&gt;"Color", IGNORE('RM'[Color])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;VAR __DS0PrimaryWindowed =&lt;BR /&gt;TOPN(1001, __DS0Core, [Score], 0, 'CSPDETAILS'[Criteria], 1)&lt;/P&gt;&lt;P&gt;EVALUATE&lt;BR /&gt;__DS0PrimaryWindowed&lt;/P&gt;&lt;P&gt;ORDER BY&lt;BR /&gt;[Score] DESC, 'CSPDETAILS'[Criteria]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to report builder and don't understand what you mean by extra formatting going on.&lt;BR /&gt;I will appreciate your kind assistance.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 04:47:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2041877#M20717</guid>
      <dc:creator>ugoriuko</dc:creator>
      <dc:date>2021-08-27T04:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Analyzer Query with 2 Parameters Run ok in DAX Studio, No Rows Found in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2043681#M20730</link>
      <description>&lt;P&gt;So I was able to figure out what was going on.&lt;/P&gt;&lt;P&gt;The Table was returning empty because I had defined the parameters and hadn't passed the values.&lt;/P&gt;&lt;P&gt;When the values are passed, it returned all the correct values but I needed it computed for each row.&lt;BR /&gt;&lt;BR /&gt;Solution&lt;BR /&gt;I had to repeat the query for each row I needed to evaluate using the Filter in the Dataset properties&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;I really appreciate your genuine and sincere effort at assisting me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 22:13:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2043681#M20730</guid>
      <dc:creator>ugoriuko</dc:creator>
      <dc:date>2021-08-27T22:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Analyzer Query with 2 Parameters Run ok in DAX Studio, No Rows Found in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2218807#M21981</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="321667" data-lia-user-login="ugoriuko" class="lia-mention lia-mention-user"&gt;ugoriuko&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I would appreciate if you can elaborate your solution.&lt;/P&gt;&lt;P&gt;I'm trying to integrate a parameter in a DAX query (from Power BI) but cannot find the solution anywhere!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 20:41:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2218807#M21981</guid>
      <dc:creator>loicr</dc:creator>
      <dc:date>2021-12-02T20:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Analyzer Query with 2 Parameters Run ok in DAX Studio, No Rows Found in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2236766#M22184</link>
      <description>&lt;P&gt;So Apparently, I had to build a query for each row I was trying to format. Then I point each sell to the corresponding query I built just for the formating. You can send me a direct message for further assistance.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 02:01:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2236766#M22184</guid>
      <dc:creator>ugoriuko</dc:creator>
      <dc:date>2021-12-14T02:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Analyzer Query with 2 Parameters Run ok in DAX Studio, No Rows Found in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2721151#M25415</link>
      <description>&lt;P&gt;Have you figured this out? I am so sorry, I have been away from this space for a while&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 17:38:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Performance-Analyzer-Query-with-2-Parameters-Run-ok-in-DAX/m-p/2721151#M25415</guid>
      <dc:creator>ugoriuko</dc:creator>
      <dc:date>2022-08-23T17:38:33Z</dc:date>
    </item>
  </channel>
</rss>

