Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
hi
i saw here a dynamic measure to show the value selected in the slicer
ifhasonevalue -> values()
is there any way to show more than one values? i mean, if i selected to items on slicer, to show both of them in dynamic measure
thanks!
Solved! Go to Solution.
Do you mean something like this? I know that some of my screenshot is in danish but I know you can understand anyway.
Here is some translations
År til dato (i går) = Year to date (yesterday)
Sidste år til dato (i går) = Previous year to date (yesterday)
Måned til dato (i går) = Month to date (yesterday)
Måned til dato (sidste år i går) = Month to date (previous year yesterday)
I går = Yesterday
I går (sidste år) = Yesterday (previous year)
@MP_123 if you're referring to the fact that CONCATENATE only takes two arguments to concatenate, that does not apply here. CONCATENATEX is not the same as CONCATENATE. This measure will concatenate a list of any arbitrary number of selected items in a slicer. Try it on your dataset.
Proud to be a Super User!
Selected Stuff = CONCATENATEX( VALUES( TableName[ColumnUsedInSlicer]), TableName[ColumnUsedInSlicer], ", ")
Proud to be a Super User!
@KHorseman it's good but i think more than two (i don't know in advanced how many)
@MP_123 if you're referring to the fact that CONCATENATE only takes two arguments to concatenate, that does not apply here. CONCATENATEX is not the same as CONCATENATE. This measure will concatenate a list of any arbitrary number of selected items in a slicer. Try it on your dataset.
Proud to be a Super User!
thanks for your post, however, I'm having wired issue, the CONCATENATEX function is greyed out in Power BI desktop, any idea?
hi again,
do you have an idea how to sort the concatenatex alphabeticaly maybe with another dax function?
the order is incosistent.
thanks!
@MP_123 I don't think so. DAX functions that return tables or columns never guarantee their sort order as far as I can tell. The only way to get CONCATENATEX to concatenate in alphabetic order would be to pre-sort the column you're feeding into the first argument, where I used VALUES. I suppose if you could come up with a way to use RANKX to rank the words in alphabetic order you might be able to make it work, but I can't think of a way to do that either.
Proud to be a Super User!
Do you mean something like this? I know that some of my screenshot is in danish but I know you can understand anyway.
Here is some translations
År til dato (i går) = Year to date (yesterday)
Sidste år til dato (i går) = Previous year to date (yesterday)
Måned til dato (i går) = Month to date (yesterday)
Måned til dato (sidste år i går) = Month to date (previous year yesterday)
I går = Yesterday
I går (sidste år) = Yesterday (previous year)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
121 | |
79 | |
47 | |
45 | |
36 |
User | Count |
---|---|
179 | |
89 | |
69 | |
47 | |
47 |