Forum Discussion
Anonymous
3 years agoNot applicable
How to create a range from Column values
Hello, I'm looking to create a range out of the values of Lower Limit Column The data is laid out in two columns as shown in Current Data and the Expected outcome is below it. Current Data: ...
vicky_
3 years agoSuper User
Range (calculated) =
var nextValue = CALCULATE(MIN('Table'[Range]), FILTER(ALL('Table'), 'Table'[Range] > EARLIER('Table'[Range])))
return IF(nextValue > 0,
'Table'[Range] & " - " & nextValue,
"> " & 'Table'[Range]
)You can try something like the above
- Anonymous3 years agoNot applicable
Thank you for your reply.
It does create a range but not accurate, here is my output.
Looks like the variable needs to be tied to the bucket column, so the range is locked to the adjacent bucket value.