<?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: RDLC Power BI report export using Power BI API - export with filter fails in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2643743#M37403</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simplyamitshah_0-1658122263864.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/749552i11D5097286F8A457/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simplyamitshah_0-1658122263864.png" alt="simplyamitshah_0-1658122263864.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below are the parameters. I checked all the parameters and passed parameters which are not having any default values means it will expect value from parameter query. Below is the latest code. Not passing FormatSettings and Identities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;var PaginatedReportConfiguration = new PaginatedReportExportConfiguration()&lt;BR /&gt;{&lt;BR /&gt;//FormatSettings = formatsettings,&lt;BR /&gt;//ParameterValues = parameterValues&lt;BR /&gt;ParameterValues = new ParameterValue[] {&lt;BR /&gt;new ParameterValue { Name = "SAPCompanySAPCompanyCode", Value = "1001"},&lt;BR /&gt;new ParameterValue { Name = "Month", Value = "March, 2022"},&lt;BR /&gt;new ParameterValue { Name = "CurrencyTypeCurrencyType", Value = "Statutory"},&lt;BR /&gt;new ParameterValue { Name = "QOQMonth", Value = "March, 2022"},&lt;BR /&gt;new ParameterValue { Name = "YOYMonth", Value = "March, 2022"},&lt;BR /&gt;new ParameterValue { Name = "SelectedMonth", Value = "March, 2022"},&lt;BR /&gt;new ParameterValue { Name = "StandardAccountClass", Value = "Expenses"},&lt;BR /&gt;new ParameterValue { Name = "StandardAccountSubClass", Value = "Billed Revenue"},&lt;BR /&gt;new ParameterValue { Name = "StandardAccountLineItem", Value = "Accounts payable"},&lt;BR /&gt;new ParameterValue { Name = "StandardAccountLineItemDetail", Value = "Accounts payable"}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var exportRequest = new ExportReportRequest&lt;BR /&gt;{&lt;BR /&gt;Format = FileFormat.XLSX,&lt;BR /&gt;//PowerBIReportConfiguration = powerBIReportExportConfiguration//,&lt;BR /&gt;PaginatedReportConfiguration = PaginatedReportConfiguration&lt;BR /&gt;};&lt;BR /&gt;//,&lt;BR /&gt;//Identities = new List&amp;lt;EffectiveIdentity&amp;gt; {&lt;BR /&gt;// new EffectiveIdentity { Username = "" },&lt;BR /&gt;//}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simplyamitshah_1-1658122307112.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/749554i056BF1C75CF5A625/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simplyamitshah_1-1658122307112.png" alt="simplyamitshah_1-1658122307112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 05:36:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-18T05:36:54Z</dc:date>
    <item>
      <title>RDLC Power BI report export using Power BI API - export with filter fails</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2637784#M37338</link>
      <description>&lt;P&gt;SSRS RDLC report is uploaded to Pwoer BI. I am trying to export the report using Power BI API. Without any paginatedreportconfiguration, it works fine, successfully exports in XLSX format whole report.&lt;/P&gt;&lt;P&gt;If I specify any filters like below then Polling method shows status as failed. Unable to get exact exception.&lt;/P&gt;&lt;P&gt;var exportId = await PostExportRequest(reportId, groupId, format, pageNames, urlFilter);&lt;BR /&gt;if (exportId != "-1")&lt;BR /&gt;{&lt;BR /&gt;do&lt;BR /&gt;{&lt;BR /&gt;var httpMessage = await PollExportRequest(reportId, groupId, exportId, pollingtimeOutInMinutes, token);&lt;BR /&gt;export = httpMessage.Body;&lt;/P&gt;&lt;P&gt;------------------------------------&lt;/P&gt;&lt;P&gt;//Filter configuration&lt;/P&gt;&lt;P&gt;using&amp;nbsp;var PaginatedReportConfiguration = new PaginatedReportExportConfiguration()&lt;BR /&gt;{&lt;BR /&gt;FormatSettings = formatsettings,&lt;BR /&gt;ParameterValues = new ParameterValue[] {&lt;BR /&gt;&amp;nbsp;new ParameterValue { Name = "SAPCompanyCode", Value = "1001"}&lt;BR /&gt;}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RDLC report DataSet properties -&amp;gt; Parameters shows ParameterName and ParameterValue with exact name -&lt;/P&gt;&lt;P&gt;SAPCompanySAPCompanyCode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 05:51:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2637784#M37338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-14T05:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: RDLC Power BI report export using Power BI API - export with filter fails</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2643433#M37401</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;Did this parameter defined in your paginated report correctly? I'd like to suggest you double check these part settings to confirm if they can be invoked in the rest API:&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/paginated-reports-parameters" target="_blank"&gt;Create parameters for paginated reports in the Power BI service - 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;BTW, can you please share some more detail about your scenario? (e.g. report data source, connection, parameters settings...) They will help us clarify your scenario and test to troubleshoot:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&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>Mon, 18 Jul 2022 01:50:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2643433#M37401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-18T01:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: RDLC Power BI report export using Power BI API - export with filter fails</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2643743#M37403</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simplyamitshah_0-1658122263864.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/749552i11D5097286F8A457/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simplyamitshah_0-1658122263864.png" alt="simplyamitshah_0-1658122263864.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below are the parameters. I checked all the parameters and passed parameters which are not having any default values means it will expect value from parameter query. Below is the latest code. Not passing FormatSettings and Identities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;var PaginatedReportConfiguration = new PaginatedReportExportConfiguration()&lt;BR /&gt;{&lt;BR /&gt;//FormatSettings = formatsettings,&lt;BR /&gt;//ParameterValues = parameterValues&lt;BR /&gt;ParameterValues = new ParameterValue[] {&lt;BR /&gt;new ParameterValue { Name = "SAPCompanySAPCompanyCode", Value = "1001"},&lt;BR /&gt;new ParameterValue { Name = "Month", Value = "March, 2022"},&lt;BR /&gt;new ParameterValue { Name = "CurrencyTypeCurrencyType", Value = "Statutory"},&lt;BR /&gt;new ParameterValue { Name = "QOQMonth", Value = "March, 2022"},&lt;BR /&gt;new ParameterValue { Name = "YOYMonth", Value = "March, 2022"},&lt;BR /&gt;new ParameterValue { Name = "SelectedMonth", Value = "March, 2022"},&lt;BR /&gt;new ParameterValue { Name = "StandardAccountClass", Value = "Expenses"},&lt;BR /&gt;new ParameterValue { Name = "StandardAccountSubClass", Value = "Billed Revenue"},&lt;BR /&gt;new ParameterValue { Name = "StandardAccountLineItem", Value = "Accounts payable"},&lt;BR /&gt;new ParameterValue { Name = "StandardAccountLineItemDetail", Value = "Accounts payable"}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var exportRequest = new ExportReportRequest&lt;BR /&gt;{&lt;BR /&gt;Format = FileFormat.XLSX,&lt;BR /&gt;//PowerBIReportConfiguration = powerBIReportExportConfiguration//,&lt;BR /&gt;PaginatedReportConfiguration = PaginatedReportConfiguration&lt;BR /&gt;};&lt;BR /&gt;//,&lt;BR /&gt;//Identities = new List&amp;lt;EffectiveIdentity&amp;gt; {&lt;BR /&gt;// new EffectiveIdentity { Username = "" },&lt;BR /&gt;//}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="simplyamitshah_1-1658122307112.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/749554i056BF1C75CF5A625/image-size/medium?v=v2&amp;amp;px=400" role="button" title="simplyamitshah_1-1658122307112.png" alt="simplyamitshah_1-1658122307112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 05:36:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2643743#M37403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-18T05:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: RDLC Power BI report export using Power BI API - export with filter fails</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2651975#M37469</link>
      <description>&lt;P&gt;Problem resolved after passing correct values. In RDLC report data source is Tabular cube s the values should be in exact format of cube columns not just string.&lt;/P&gt;&lt;P&gt;For example -&amp;nbsp;&lt;/P&gt;&lt;P&gt;new ParameterValue { Name = "SAPCompanySAPCompanyCode", Value = "[SAP Company].[SAP Company Code].&amp;amp;[1010]"},&lt;/P&gt;&lt;P&gt;new ParameterValue { Name = "StandardAccountClass", Value = "[Account].[Sub Class].&amp;amp;[Total stockholders' equity]"},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trick was to open the Power BI report in browser and checked the network traces after applying filter. Traces will show /render POST call and body will have all parameters values. thanks to PowerBI API team who helped me in troubleshooting the issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 06:11:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RDLC-Power-BI-report-export-using-Power-BI-API-export-with/m-p/2651975#M37469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-21T06:11:26Z</dc:date>
    </item>
  </channel>
</rss>

