Forum Discussion

XaviOV's avatar
XaviOV
Helper V
3 years ago
Solved

Create a new column with a multipe value

Hi,

 

I have a table  and I want to do it, how can I do it in DAX

 

Now:

 

Future:

 

Thanks!

  • XaviOV 

    please try

    Column1 =
    MAXX (

    FILTER (

    CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[ExecutionReference] ) ),

    'Table'[DataKey] IN { "HP", "GAF" }
    ),

    'Table'[DataKey]

    )

6 Replies

      • tamerj1's avatar
        tamerj1
        Community Champion

        XaviOV 

        I mean why "GAF" not "Caudal" for example? Based on what? Or you have a list of the Key values that need to be kept?