Forum Discussion

AlwaysBI's avatar
AlwaysBI
Frequent Visitor
7 years ago
Solved

AllExcept and filter

HI   I need some help. I have a table below. Year Month Day Product Type Group Price 2019 3 1 A Own First Group A 100 2019 3 1 B Competitor First Group A 120 2019 3...
  • AlB's avatar
    7 years ago

    Hi AlwaysBI 

    You can create a calculated colum in the table you show (Table1):

     

    Competitor Price =
    CALCULATE (
        DISTINCT ( Table1[Price] );
        ALLEXCEPT ( Table1; Table1[Group] );
        Table1[Type] = "Competitor"
    )