cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fsabzaali
Regular Visitor

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

@fsabzaali , 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

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

@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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors