Chart counting cells within a ranged number value

Hi,
Pls help. I have a number type column called [Distance] and i wanted to make a chart showing based on conditions that for example, count all the cells that belongs to a range like from 0 to 9.99 and likewise count all cells having values that are equal 10 and above. Canโ€™t seem to figure out how.

Solved Solved
0 5 354
1 ACCEPTED SOLUTION

You need to construct 2 Virtual Columns for that initially and then use this 2 columns for your charting:

COUNT(
    SELECT(
        TableName[Distance],
        AND(
            [Distance]>=0.00,
            [Distance]<=9.99
        )
    )
)
COUNT(
    SELECT(
        TableName[Distance],
        [Distance]>=10.00
    )
)

View solution in original post

5 REPLIES 5
Top Labels in this Space