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 !! YouTube Channel !! Connect on Linkedin

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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!