Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

parameter with multiple values-paginated report

Hi All,

 

I am connecting Firebird ODBC connection to create a paginated report.

 

i am unable to set mutiple value parameter in query level. could you please help to below query to enable multiple value seletion in parameter.

 

WITH CTE_RATING
AS
(SELECT
RATING_DESC,
RATING,
STORE,
CASE WHEN RATING='2' THEN 'YES'
WHEN RATING='3' THEN 'YES'
WHEN RATING='4' THEN 'YES'
WHEN RATING='5' THEN 'YES'
ELSE 'NO' END AS CUST_RATING
FROM RATING_DESC

)

SELECT CH.ACCOUNT AS Account,
CASE WHEN CH.CURMONTHSDUE>=3 AND R.CUST_RATING ='NO' THEN 'YES' ELSE 'NO' END AS "OVER 90"


FROM CONTRACT_HISTORY CH
LEFT JOIN CONTRACTS CT ON CH.CONTRACT=CT.CONTRACT AND 1=1
lEFT JOIN CUSTOMERS C ON CH.ACCOUNT=C.ACCOUNT AND 1=1
LEFT JOIN STOREINITIALS S ON CH.STORE=S.STORE AND 1=1
LEFT JOIN CTE_RATING R ON CH.STORE=R.STORE AND C.RATING=R.RATING
WHERE S.CO_NAME in (?)

 

Thank you in advance

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Do you mean you have a parameter which allows multi-select and hope to pass the multiple selected values to S.CO_NAME in the SQL query?

 

Best Regards,
Community Support Team _ Jing

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors