Forum Discussion
Toggle Month values into 3 Month Average
Create a disconnected table for your slicer. Then use a measure like this:
Measure to Show =
VAR __Selected = SELECTEDVALUE('SlicerTable'[Column])
RETURN
SWITCH(__Selected,
"3 Month",[3 Month Measure],
"12 Months",[12 Month Measure],
<etc.>
)All of my slicers are already set up as tables, but all are attached to something. By keeping this one isolated, it isn't making any alterations at all, let alone playing well with the other two slicers. Perhaps I need to provide more detail.
My data table has a many-to-one cross-directional relationship with my calendar table and my Sales Rep table (just a list of names). There are dozens of other moving parts that aren't relevant to my current question such that I can't just start unlinking tables willy-nilly. The month slicer feeds directly off the calendar table, and the Sales Rep slicer feeds directly off the Sales Rep table. The measures I'm using on the data table are as follows:
- v-lili6-msft6 years agoCommunity Support
For your case, you could refer to this blog:
Dynamically change the information within a visual via a slicer
Regards,
Lin
- GebauerAnalytic6 years agoFrequent Visitor
While this touches on the category of what I need, it doesn't really get into how to dynamically change measures on a page or how to effectively overlap these filters without issue.