Forum Discussion

GuillaumeL06's avatar
GuillaumeL06
Regular Visitor
7 years ago
Solved

New value in a column with a DAX code

Hello everyone, I have a table : Site                                      Frs                                       Code                    NAB                                    A               ...
  • Anonymous's avatar
    Anonymous
    7 years ago

    you can try:

    CODE = 
    IF(
        SEARCH("P7",
            CONCATENATEX(
                FILTER(
                    'Table',
                    'Table'[Frs] = EARLIER('Table'[Frs])
                ),
                'Table'[Site],",")
            ,,0),
        "Y",
    "N")

    I added P3/B to test