Forum Discussion

itsranga's avatar
itsranga
Helper I
3 years ago
Solved

Need Help with DAX

Hello All,   I need Help with DAX,  in M-Code i achieved but i try to Create Calculated Column but its not working    Custom Column in Power Query Editor       Test = if List.Contains({"Proj...
  • Greg_Deckler's avatar
    3 years ago

    itsranga Try:

    Column =
      IF(
        ( 
          [Type] IN {"Project", "Small Project"} && 
          [Owner] IN {"Human Resources", "Materials Management", "Quote to Cash", "Super Users Supply Chain", "Supply Chain"} 
        ) ||
        [Function] IN { "Quote to Cash" } ||
        [Business] IN { "Commodity Planning","Corrections","Customer Service","Human Resources","Master Scheduling","Order Change Specialists","Production Planning","Purchasing"},
        "X",
        ""
      )