Forum Discussion
EricKautz
Helper I
2 years agocreate column with multiple if/or
I have a column that has different asset class names (FX, InterestRate, Commodity, and Unspecified). I want to create a new column with the below if statement. If Asset Class = "FX" then "FX" or...
EricKautz
Helper I
2 years agoCould you post the actual dax formula you used.
ryan_mayu
Super User
2 years agoif you want to use DAX, pls try this
Column = if('Table'[Asset Class] in {"FX","InterestRate","Commodity"},'Table'[Asset Class], if('Table'[Asset Class]="Unspecified" && 'Table'[Trade ID]>="11111111" && 'Table'[Trade ID]<="999999999","Commodity"))