Forum Discussion
MikelPC
9 years agoFrequent Visitor
Distinct KPI target depending of filter selection
Hello, I'm new here and apaologize if this question appeared before, I van't find it here. My question is: I have a costs graphic, and my objective is that when I select the type 20 on the fi...
- 9 years ago
Hi MikelPC
Try this measure
Switcher = If( HASONEVALUE(YourTable[SlicerColumn]) , SWITCH(VALUES(YourTable[SlicerColumn]) , 20 , 0.5 , 30 , 1.5 ) , "Please choose a single value for the 'TipusNoConformitat' slicer")
And place it in the 'target goals' section of your graph !
Datatouille
9 years agoSolution Sage
Hi MikelPC
Try this measure
Switcher = If( HASONEVALUE(YourTable[SlicerColumn]) , SWITCH(VALUES(YourTable[SlicerColumn]) , 20 , 0.5 , 30 , 1.5 ) , "Please choose a single value for the 'TipusNoConformitat' slicer")
And place it in the 'target goals' section of your graph !
MikelPC
9 years agoFrequent Visitor
It works perfectly Well!
Thanks!