Forum Discussion

C_H's avatar
C_H
Advocate I
7 years ago
Solved

Subselect result only with measures

Hi,   I have follwing sample data in a table: Client  Year    Revenue 4711    2017    100 4711    2018    200 4712    2017    101 4712    2018    201 4713    2018    202 4714    2018    203 ...
  • LivioLanzo's avatar
    7 years ago

    Hello C_H,

     

    you can build the below model and add this measure:

     

    Measure = 
    CALCULATE(
        SUM( Revenue[Revenue] ),
        CALCULATETABLE(
            VALUES( Clients[Client] ),
            Years[Year] = 2017,
            CROSSFILTER( Revenue[Client], Clients[Client], Both )
        )
    )