Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Summarize error with The express refers to multiple columns.

Hi,   I am trying to build a table of EMP headcounts based of their Hours working group,. The dataset is like;   Job                                      EMP Names                                ...
  • amitchandak's avatar
    6 years ago

    Anonymous 

    If you are not doing any aggregation on Append1[Total].

    Create a new column in the append table and use it?

    Bucket =

    Switch(true(),
    Append1[Total]<=250,"0 to 250",
    Append1[Total]<=500,"250 to 550",
    Append1[Total]<=1000,"500 to 1000",
    Append1[Total]<=2000,"1000 to 2000",
    Append1[Total]<=2000,"2000 to 4000",
    "Over 4000"
    )