<?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 PowerBI Report builder - DAX query Performance analyzer issue in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Report-builder-DAX-query-Performance-analyzer-issue/m-p/2211681#M33202</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a report using PowerBI Report builder and the dataset query is coming from&amp;nbsp;&lt;STRONG&gt;Performance Analyzer.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I define a Year and Month parameter but if I choose a multiple value on year or month i'm getting an error or no data displayed on the report. If i choose single value on the parameter the report is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing, if i choose multiple value on year parameter, i'm also getting an error.&lt;/P&gt;&lt;P&gt;cannot covert value &amp;lt;pii&amp;gt;2019|2020&amp;lt;/pii&amp;gt; of type tp type integer while processing column &amp;lt;pii&amp;gt;[static column]-&amp;gt;datetable[Received Year]&amp;lt;/pii&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameter: set expression value&lt;/P&gt;&lt;P&gt;=Join(Parameters!Year.Value,"|")&lt;/P&gt;&lt;P&gt;=Join(Parameters!Month.Value,"|")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the DAX query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// DAX Query&lt;BR /&gt;DEFINE&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR __DS0FilterTable =&lt;BR /&gt;TREATAS({@Year}, 'DateTable'[Received Year])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR __DS0FilterTable1 =&lt;BR /&gt;TREATAS({@Month}, 'DateTable'[MonthName])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR __DS0FilterTable2 =&lt;BR /&gt;TREATAS({"Phone"}, 'CSST'[Product Group])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR __DS0FilterTable3 =&lt;BR /&gt;TREATAS({"AER"}, 'CCST'[Category])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;EVALUATE&lt;BR /&gt;TOPN(&lt;BR /&gt;501,&lt;BR /&gt;SUMMARIZECOLUMNS(&lt;BR /&gt;ROLLUPADDISSUBTOTAL(&lt;BR /&gt;'CSST'[Category], "IsGrandTotalRowTotal",&lt;BR /&gt;'CSST'[Client], "IsDM0Total",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe the parameters are just not working correctly or the DAX query, likely, something wrong I did, but&amp;nbsp;I have no idea how to fix this.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I have tried innumerous things! Please help!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 09:20:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-11-29T09:20:10Z</dc:date>
    <item>
      <title>PowerBI Report builder - DAX query Performance analyzer issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Report-builder-DAX-query-Performance-analyzer-issue/m-p/2211681#M33202</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a report using PowerBI Report builder and the dataset query is coming from&amp;nbsp;&lt;STRONG&gt;Performance Analyzer.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I define a Year and Month parameter but if I choose a multiple value on year or month i'm getting an error or no data displayed on the report. If i choose single value on the parameter the report is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing, if i choose multiple value on year parameter, i'm also getting an error.&lt;/P&gt;&lt;P&gt;cannot covert value &amp;lt;pii&amp;gt;2019|2020&amp;lt;/pii&amp;gt; of type tp type integer while processing column &amp;lt;pii&amp;gt;[static column]-&amp;gt;datetable[Received Year]&amp;lt;/pii&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameter: set expression value&lt;/P&gt;&lt;P&gt;=Join(Parameters!Year.Value,"|")&lt;/P&gt;&lt;P&gt;=Join(Parameters!Month.Value,"|")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the DAX query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// DAX Query&lt;BR /&gt;DEFINE&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR __DS0FilterTable =&lt;BR /&gt;TREATAS({@Year}, 'DateTable'[Received Year])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR __DS0FilterTable1 =&lt;BR /&gt;TREATAS({@Month}, 'DateTable'[MonthName])&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR __DS0FilterTable2 =&lt;BR /&gt;TREATAS({"Phone"}, 'CSST'[Product Group])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR __DS0FilterTable3 =&lt;BR /&gt;TREATAS({"AER"}, 'CCST'[Category])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;EVALUATE&lt;BR /&gt;TOPN(&lt;BR /&gt;501,&lt;BR /&gt;SUMMARIZECOLUMNS(&lt;BR /&gt;ROLLUPADDISSUBTOTAL(&lt;BR /&gt;'CSST'[Category], "IsGrandTotalRowTotal",&lt;BR /&gt;'CSST'[Client], "IsDM0Total",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I believe the parameters are just not working correctly or the DAX query, likely, something wrong I did, but&amp;nbsp;I have no idea how to fix this.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I have tried innumerous things! Please help!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 09:20:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Report-builder-DAX-query-Performance-analyzer-issue/m-p/2211681#M33202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-29T09:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Report builder - DAX query Performance analyzer issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Report-builder-DAX-query-Performance-analyzer-issue/m-p/2216989#M33257</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I'd like to suggest you check the configuration to confirm you have enabled the 'Allow multiple values' property :&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/paginated-reports/report-builder-parameters#bkmk_Report_Parameters" target="_blank"&gt;Report parameters in Power BI Report Builder - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;If you are working with parameter filter in URL, please check the following link to ensure you are using the correct format of&amp;nbsp;multi-value parameter:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/paginated-reports/report-builder-url-pass-parameters#additional-examples" target="_blank"&gt;Pass a report parameter in a URL for a paginated report - Power BI Report Builder - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 01:18:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Report-builder-DAX-query-Performance-analyzer-issue/m-p/2216989#M33257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-02T01:18:28Z</dc:date>
    </item>
  </channel>
</rss>

