Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Returning true or false based on multiple criteria

I have a table as below called (Results) which has 4 columns [Name], [Age], [Country],[Position]   [Client]      [Sites]      [Country]    [Position] Parker            2               UK          ...
  • jameszhang0805's avatar
    jameszhang0805
    5 years ago

    What is the result you want? If my understanding is incorrect, please correct me.

    Your expectation result should be :

    After summarize column [Client], [Sites], [Country] , 
    if sum ( [Position] )  <= 2  and  sum[position]>=100 then Ture else False 

    or : if avg ( [Position] )  <= 2  and  avg [position]>=100 then Ture else False 
    Which kind of aggregation is what you want ?