Forum Discussion
Segment values
- 4 years ago
SaaM , You will not be able to create a bucket using this(what if) . You can create a measure
example
measure =
VAR _max = MAXX(allselected('Whatif'),'Whatif' [value])
var _min = MinX(allselected('Whatif'),'Whatif' [value])return
calculate(Sum(Table[ConsumptionCount]), filter(Table, Table[Distance runned]>=_min && Table[Distance runned]<=_max))
- SaaM4 years agoHelper II
Actually I am trying to have something like this to filter the distance runned by each athlete
for example the athelte a runned once 200 kms and then 300 kms so he runned 500 kms in total.
- amitchandak4 years agoSuper User
SaaM , You will not be able to create a bucket using this(what if) . You can create a measure
example
measure =
VAR _max = MAXX(allselected('Whatif'),'Whatif' [value])
var _min = MinX(allselected('Whatif'),'Whatif' [value])return
calculate(Sum(Table[ConsumptionCount]), filter(Table, Table[Distance runned]>=_min && Table[Distance runned]<=_max))