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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Issue passing multiple values to DAX query in Power BI Report Builder

I have a DAX query that I am able to pass multiple values in DAX Studio but when I use the same query in MS Power BI Report Builder and pass values from a multi-select parameter, it fails. It works for a single select parameter or if I only pass only 1 value. Any hints or insights on what may be causing this?

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , how are you trying to pass, have you used  " in @param " or  = @ param ?

 

Refer

https://docs.microsoft.com/en-us/power-bi/paginated-reports/report-builder-parameters

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak, in DAX query, I have a VAR table that I am using to filter records where @RY parameter is tied to another dataset that is shown to users to select year from. If user selects one year, the query works just fine but if user selects more than one year, it does not return any value. 

 

DEFINE
VAR __DSRYFilterTable =
TREATAS({ @RY }, 'W_DATE_D'[YEAR])

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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