Forum Discussion
Changing multiple (two) field parameters with one button/slicer
- Anonymous3 years ago
Hi Anonymous !
I know this is a old topic, but I had the same problem, and your topic was top indexed on google, so I'll post how I solved it here, so it may help other people.
instead of using the code you thought of, you can use this one:New_Parameter = { ("Timeframe 1", NAMEOF('Table1'[a]), 0, "TF 1"), ("Timeframe 2", NAMEOF('Table1'[b]), 1, "TF 2"), ("Timeframe 3", NAMEOF('Table1'[c]), 2, "TF 3"), ("Timeframe 1", NAMEOF('_Measures'[SankeyCount_timeframe1]), 3, "TF 1"), ("Timeframe 2", NAMEOF('_Measures'[SankeyCount_timeframe2]), 4, "TF 2"), ("Timeframe 3", NAMEOF('_Measures'[SankeyCount_timeframe3]), 5, "TF 3") }It will create a new column in the parameter, and you'll be able to put this new column on the segment, as will return only the group values.
It should work!
Hi, no not yet solved. trying to find a workaround myself. Will update here once applicable
- asorti62 years agoNew Member
You can actually use indirection. The single Dimension Slicer below sets different parameters for 4 different visualisations. I'm also using it to dynamically set a title for the visualisation depending on the selection.
- LukeTempleton9 months agoFrequent Visitor
I have the strong feeling that what is demonstrated in these two screenshots is all or part of the solution I need, but I can't discern from the images how I would put something like this together. Can anyone provide or point to step-by-step instructions or more details on this method?