Does anyone know a way to return all of the distinct values in a column via a slicer selection. I understand how to do this using measures e.g if “Revenue” is selected then return revenue. However, what I am wondering is if the user selects from a slicer “Paint” or “Style” it will return all the different styles that are in my table, e.g. if paint is picked it will return:
red
green
blue
Yellow… anything that is in my data table.
I am trying a few methods but I keep receiving “multiple values returned when one value is expected error”
i am trying to return a metric selected and then visualising it against the category selected. e.g paint by profit will give me a graph/ table of all my paint colours present and its relating profit. That way i can have a dynamic chart based on 2 dynamic axis.
Or is this impossible as you cant have a measure as an axis?
Yes that is correct i could easily place all of the columns into the visual and then let the user drill down, However, I was wondering if there was a way i could minimize the training/ increase the usability of it by instead of needing them to learn how to drill, I would let them choose from a slicer what they would see.
So instead of this
I could just have selected value of slicer in the axis instead which dynamically provides one of the selected options and all of its distinct values in the chart.
Ok I get it now. Sorry I just wasn’t understanding the requirement.
I actually haven’t done anything on this (but will, because I like it).
I’ve found a link that shows you how to do it.
I would think carefully around if there is maybe a better way to showcase this in your report as the work around is quite a bit and can make you model more complex that it may need to be.
Thanks Sam, I tried looking around for answers but couldn’t find anything.
This solution seems like a lot of overhead. Multiplying my unique entries by the number of columns i wish to slice by puts my table size out to hundreds of thousands for just a change in functionality.