Forum Discussion

Applicable88's avatar
Applicable88
Icon for Impactful Individual rankImpactful Individual
3 years ago
Solved

Create Calculated Table and replacing empty values, with the "type"

Hello, unfortunately I got a table which is suboptimal. Here is my sample table:   OrderNo.   Date   Type   Materials 11111   01.01.2022   null   Felo 11111   01.01.2022   ...
  • Greg_Deckler's avatar
    Greg_Deckler
    3 years ago

    Applicable88 In DAX you could do this:

    Column =
      VAR __OrderNo = [OrderNo.]
      VAR __Type = MAXX(FILTER('Table',[OrderNo.] = __OrderNo),[Type])
    RETURN
      __Type