Forum Discussion

Iamnvt's avatar
Iamnvt
Continued Contributor
7 years ago
Solved

Concatenatex Lookupvalue multiple values

hi,   I have 2 tables: Product A B C   and Sales: ProductRegion A AA A BB B BB C AA   I need to write a calculated column that lookupvalue all the Region from...
  • Zubair_Muhammad's avatar
    Zubair_Muhammad
    7 years ago

    Iamnvt 

     

    You can use CROSSFILTER function to get this column in Table1, if you have the aforesaid relationships

     

    Country =
    CONCATENATEX (
        CALCULATETABLE (
            VALUES ( Table3[Country] ),
            CROSSFILTER ( Table2[Region], Table3[Region], BOTH )
        ),
        [Country],
        ","
    )