Forum Discussion
Anonymous
6 years agoNot applicable
Dynamic Slicer for Calculated Measure
I am attempting to get a slicer like in the first image below. I don't know how it was created but I do have the code used for it. Can anyone help duplicate this kind of slicer. See code and images below.
Per capita flow (gpcd) = GENERATESERIES(50, 130, 10) // series that gives slicer the values //
Per capita flow (gpcd) Value = SELECTEDVALUE('Per capita flow (gpcd)'[Per capita flow (gpcd)], 50) // selecting a value to use for calculation //
That was done using the What If Parameter feature. See this article for an overview.
2 Replies
- edhansCommunity Champion
That was done using the What If Parameter feature. See this article for an overview.
- AnonymousNot applicable
Perfect, thanks!