Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
@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
@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])
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |