Forum Discussion

psilos24's avatar
psilos24
Icon for Helper I rankHelper I
6 years ago
Solved

Group values using a measure ?

Hello guys, I would like to ask if it is possible to group values using a measure. I know it is easy through a new column or right-click to the graph and choose the group values. The reason I'm askin...
  • Anonymous's avatar
    Anonymous
    6 years ago

    psilos24 
    Lets say if you have a column has value from 1-200, you want to group into 4 groups. You can create 4 measures and put them in the Values section.

     

    Group 1 = Caluclate(sum([Column]),filter(Table, [column]<=50)
    Group 2 = Caluclate(sum([Column]),filter(Table, [column]>50&&[column]<=100)
    Group 3 = Caluclate(sum([Column]),filter(Table, [column]>100&&[column]<=150)
    Group 4 = Caluclate(sum([Column]),filter(Table, [column]>150&&[column]<=200)

     


    Paul Zheng _ Community Support Team
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.