Forum Discussion
Using a measure as a slicer
- 5 years ago
m_e_1203 , Looking at this seems like you need dynamic segmentation. Please refer if my video can help
https://www.youtube.com/watch?v=CuczXPj0N-k
File related to this video attached after signature
Ashish_Mathur Thank you for your reply. Since I cannot share the file due to confidentiality, I will explain here as much as I can.
What I would like to do is something like those below.
https://community.powerbi.com/t5/Desktop/Measure-as-Slicer-Workaround/m-p/613366#M292345
https://community.powerbi.com/t5/Desktop/Use-Measure-as-Slicer/m-p/1032054#M485879
-----------------------
(1)
Table (Qty Segment Table) created.
Qty Segment# : Segment
0: No purchase in 2020
1: Decrease
2: Same
3: Increase
-----------------------
(2)
This measure is in "Qty - Measure" folder.
Create a measure like this in Qty Segment Table.
Hi,
I will still need data to work with.
- m_e_12035 years ago
Helper II
Ashish_Mathur Thank you for your response.
I was able to follow this instruction https://community.powerbi.com/t5/Desktop/Measure-as-Slicer-Workaround/m-p/613366#M292345.
I needed to do #3 after completing #2.
2 create a measure Measure = IF([new MaxStatusas Number 3]=SELECTEDVALUE(Table1[slicer]),1,0) 3.add measure in the visual level filter, select "1" add Table1[slicer] in the slicerUsing amitchandak 's solution and this would solve my issue. Thanks agai for your assitance.