Forum Discussion
Numeric Range Slicer based on aggregate data
- 6 years ago
Hi, sujitjena
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Cost:
FTE Slicer(a calculated table):
FTE Slicer = var sumtab = SUMMARIZE( Cost, Cost[ClientName], "Sum", SUM(Cost[FTE]) ) var tab = GENERATESERIES( MINX(sumtab,[Sum]), MAXX(sumtab,[Sum]), 1 ) return tabMeasure:
Visual Control = IF( SUM(Cost[FTE])<=MAX('FTE Slicer'[Value])&& SUM(Cost[FTE])>=MIN('FTE Slicer'[Value]), 1,0 )Finally you may put the measure in the visual level filter to filter the result.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, sujitjena
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Cost:
FTE Slicer(a calculated table):
FTE Slicer =
var sumtab =
SUMMARIZE(
Cost,
Cost[ClientName],
"Sum",
SUM(Cost[FTE])
)
var tab =
GENERATESERIES(
MINX(sumtab,[Sum]),
MAXX(sumtab,[Sum]),
1
)
return tab
Measure:
Visual Control =
IF(
SUM(Cost[FTE])<=MAX('FTE Slicer'[Value])&&
SUM(Cost[FTE])>=MIN('FTE Slicer'[Value]),
1,0
)
Finally you may put the measure in the visual level filter to filter the result.
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- angelrolland4 years agoRegular Visitor
This is great! Is there a way to make the slicer dynamic to the selected customer?