<?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: Question: Issue with Multiple Parameter Values in Power BI Paginated Report in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4670189#M40448</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594515" data-lia-user-login="gautampruthi" class="lia-mention lia-mention-user"&gt;gautampruthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are encountering this issue due to the highlighted statement below. When passing parameters, only the distinct values selected through filters in the paginated report are used. The report cannot run without selecting any values. If no selection is made, it will result in an error as shown in the screenshot below. To fix this replace&lt;BR /&gt;AND (@crs_facc IS NULL OR srs_crs.crs_facc IN (@crs_facc)) with&amp;nbsp;AND (srs_crs.crs_facc IN (@crs_facc))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Script which is causing error:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AND (&lt;STRONG&gt;@crs_facc IS NULL&lt;/STRONG&gt; OR srs_crs.crs_facc IN (@crs_facc))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error screenshot if we don't select any value in for the parameter.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;&lt;SPAN&gt;Accepting as solution&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;SPAN&gt;"Kudos"&lt;/SPAN&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Apr 2025 07:30:31 GMT</pubDate>
    <dc:creator>v-sathmakuri</dc:creator>
    <dc:date>2025-04-28T07:30:31Z</dc:date>
    <item>
      <title>Question: Issue with Multiple Parameter Values in Power BI Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4669723#M40444</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I've recently started working with Power BI paginated reports and I'm encountering an issue when selecting multiple values in a parameter. When I select more than one value, the report fails to execute and throws the following error:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;"An expression of non-boolean type specified in a context where a condition is expected, near ','."&lt;BR /&gt;----------------------------&lt;BR /&gt;Query execution failed for dataset 'INS_SMR'.&lt;BR /&gt;----------------------------&lt;BR /&gt;An error has occurred during report processing.&lt;BR /&gt;----------------------------&lt;BR /&gt;An error occurred during local report processing.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Here’s the SQL query I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT *&lt;BR /&gt;FROM (&lt;BR /&gt;SELECT&lt;BR /&gt;srs_sce.*,&lt;BR /&gt;ins_stu.*,&lt;BR /&gt;ins_smr.*,&lt;BR /&gt;ins_moa.MOA_NAME,&lt;BR /&gt;srs_crs.*,&lt;BR /&gt;LEFT(srs_sce.sce_crsc, 3) AS Course_Code,&lt;BR /&gt;-- Residency Status&lt;BR /&gt;CASE WHEN srs_sce.SCE_DPTC = 'QS' THEN 'International' ELSE 'Home' END AS Residency_Status,&lt;BR /&gt;-- Student Status Name&lt;BR /&gt;CASE&lt;BR /&gt;WHEN srs_sce.sce_stac = 'C' THEN 'Current'&lt;BR /&gt;WHEN srs_sce.sce_stac = 'W' THEN 'WITHDRAWN'&lt;BR /&gt;WHEN srs_sce.sce_stac = 'S' THEN 'SUSPENDED'&lt;BR /&gt;WHEN srs_sce.sce_stac = 'P' THEN 'PROVISIONAL'&lt;BR /&gt;WHEN srs_sce.sce_stac = 'PA' THEN 'PROV BUT ACTIVE'&lt;BR /&gt;WHEN srs_sce.sce_stac = 'EO' THEN 'EXAM ONLY'&lt;BR /&gt;WHEN srs_sce.sce_stac = 'G' THEN 'GRADUAND'&lt;BR /&gt;ELSE 'UNKNOWN'&lt;BR /&gt;END AS Status_Name,&lt;BR /&gt;-- Intake Month&lt;BR /&gt;CASE&lt;BR /&gt;WHEN srs_sce.sce_occl = 'A' THEN 'Sep'&lt;BR /&gt;WHEN srs_sce.sce_occl = 'A01' THEN 'Jan'&lt;BR /&gt;WHEN srs_sce.sce_occl = 'A02' THEN 'Feb'&lt;BR /&gt;WHEN srs_sce.sce_occl = 'A03' THEN 'March'&lt;BR /&gt;WHEN srs_sce.sce_occl = 'A04' THEN 'April'&lt;BR /&gt;WHEN srs_sce.sce_occl = 'A05' THEN 'May'&lt;BR /&gt;ELSE 'Other'&lt;BR /&gt;END AS Intake_Month,&lt;BR /&gt;ins_mod.MOD_NAME AS Module_Name,&lt;BR /&gt;ins_smr.AYR_Code AS [Academic Year],&lt;BR /&gt;ins_spr.spr_note AS Note,&lt;BR /&gt;cam_smc.smc_titl as Rpcl,&lt;BR /&gt;ins_spr.spr_eref AS Previous_Letter&lt;BR /&gt;FROM srs_sce&lt;BR /&gt;LEFT JOIN ins_stu ON srs_sce.sce_stuc = ins_stu.stu_code&lt;BR /&gt;LEFT JOIN ins_moa ON srs_sce.sce_moac = ins_moa.moa_code&lt;BR /&gt;LEFT JOIN srs_crs ON srs_sce.sce_crsc = srs_crs.crs_code&lt;BR /&gt;INNER JOIN ins_smr ON srs_sce.sce_scjc = ins_smr.SPR_Code&lt;BR /&gt;AND ins_smr.smr_proc = 'COM'&lt;BR /&gt;AND ins_smr.smr_agrg = 'P'&lt;BR /&gt;LEFT JOIN ins_mod ON ins_smr.mod_code = ins_mod.MOD_CODE&lt;BR /&gt;LEFT JOIN ins_spr ON srs_sce.sce_scjc = ins_spr.spr_code&lt;BR /&gt;LEFT JOIN cam_smc ON srs_sce.sce_scjc = cam_smc.smc_titl -- (Note: This join condition seems unusual — should it be on smc_titl?)&lt;BR /&gt;WHERE srs_sce.sce_ayrc = '24/25'&lt;BR /&gt;AND (ins_stu.stu_imac IS NULL OR ins_stu.stu_imac = 'STA GRAYDON')&lt;BR /&gt;AND srs_sce.sce_stac IN ('C', 'W', 'S')&lt;BR /&gt;-- Filters based on parameters&lt;BR /&gt;AND (@crs_facc IS NULL OR srs_crs.crs_facc IN (@crs_facc))&lt;BR /&gt;AND (@crs_dptc IS NULL OR srs_crs.crs_dptc IN (@crs_dptc))&lt;BR /&gt;AND (@crs_code IS NULL OR srs_crs.crs_code IN (@crs_code))&lt;BR /&gt;AND (@crs_name IS NULL OR srs_crs.crs_name IN (@crs_name))&lt;BR /&gt;-- Course and Block Pattern Matching&lt;BR /&gt;AND (&lt;BR /&gt;(srs_sce.sce_crsc LIKE '___1%' AND srs_sce.sce_blok = '1') OR&lt;BR /&gt;(srs_sce.sce_crsc LIKE '___2%' AND srs_sce.sce_blok = '2') OR&lt;BR /&gt;(srs_sce.sce_crsc LIKE '___3%' AND srs_sce.sce_blok = '3') OR&lt;BR /&gt;(srs_sce.sce_crsc LIKE '___4%' AND srs_sce.sce_blok IN ('F', 'P')) OR&lt;BR /&gt;(srs_sce.sce_crsc LIKE '___5%' AND srs_sce.sce_blok = 'P') OR&lt;BR /&gt;(srs_sce.sce_crsc LIKE '___6%' AND srs_sce.sce_blok = 'P') OR&lt;BR /&gt;(srs_sce.sce_crsc LIKE 'MCS1PRPT%' AND srs_sce.sce_blok = 'P') OR&lt;BR /&gt;(srs_sce.sce_crsc LIKE 'T__1%' AND srs_sce.sce_blok = 'F') OR&lt;BR /&gt;(srs_sce.sce_crsc LIKE 'T__2%' AND srs_sce.sce_blok = 'P')&lt;BR /&gt;)&lt;BR /&gt;) AS subquery;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;In the parameter setting i have selected multiple and allow null.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Apr 2025 19:09:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4669723#M40444</guid>
      <dc:creator>gautampruthi</dc:creator>
      <dc:date>2025-04-27T19:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Issue with Multiple Parameter Values in Power BI Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4670189#M40448</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594515" data-lia-user-login="gautampruthi" class="lia-mention lia-mention-user"&gt;gautampruthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are encountering this issue due to the highlighted statement below. When passing parameters, only the distinct values selected through filters in the paginated report are used. The report cannot run without selecting any values. If no selection is made, it will result in an error as shown in the screenshot below. To fix this replace&lt;BR /&gt;AND (@crs_facc IS NULL OR srs_crs.crs_facc IN (@crs_facc)) with&amp;nbsp;AND (srs_crs.crs_facc IN (@crs_facc))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Script which is causing error:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AND (&lt;STRONG&gt;@crs_facc IS NULL&lt;/STRONG&gt; OR srs_crs.crs_facc IN (@crs_facc))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error screenshot if we don't select any value in for the parameter.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;&lt;SPAN&gt;Accepting as solution&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;SPAN&gt;"Kudos"&lt;/SPAN&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 07:30:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4670189#M40448</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-04-28T07:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Issue with Multiple Parameter Values in Power BI Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4677374#M40520</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594515" data-lia-user-login="gautampruthi" class="lia-mention lia-mention-user"&gt;gautampruthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 10:33:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4677374#M40520</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-05-02T10:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Issue with Multiple Parameter Values in Power BI Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4680769#M40555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594515" data-lia-user-login="gautampruthi" class="lia-mention lia-mention-user"&gt;gautampruthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 17:08:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4680769#M40555</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-05-05T17:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question: Issue with Multiple Parameter Values in Power BI Paginated Report</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4684934#M40615</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594515" data-lia-user-login="gautampruthi" class="lia-mention lia-mention-user"&gt;gautampruthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I&amp;nbsp;hope this information provided is helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please&amp;nbsp;accept it as a solution&amp;nbsp;so other community members with similar problems can find a solution faster.&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>Thu, 08 May 2025 12:36:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Question-Issue-with-Multiple-Parameter-Values-in-Power-BI/m-p/4684934#M40615</guid>
      <dc:creator>v-sathmakuri</dc:creator>
      <dc:date>2025-05-08T12:36:33Z</dc:date>
    </item>
  </channel>
</rss>

