Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Switch tabel row value

Hi everybody,   i try too switch the "Oorzaak (groups)" row when its blank with the one that is not blank with the same "inspectienummerTermijn" i try to use the measure in the matrix as bel...
  • Anonymous's avatar
    Anonymous
    5 years ago

    thank you camargos88 ,

     

    fill down doesnt work in this senario because some of the value has to stay blank only the one with the same inspectienummerTermijn where a "oorzaak Group" is blank have to be filled

     

    But i find a solution that worked for me. so i will place it here in cause somebody have the same problem.

     

    Oorzaak =
    VAR _id =
    SELECTEDVALUE ( 'Meldingen&getCustominspecties'[InspectienummerTermijn] )
    RETURN
    CALCULATE (
    MAX ( 'Meldingen&getCustominspecties'[Oorzaak (groups)] ),
    FILTER (
    ALL ( 'Meldingen&getCustominspecties' ),
    'Meldingen&getCustominspecties'[InspectienummerTermijn] = _id
    )
    )