Forum Discussion

perezco's avatar
perezco
Icon for Advocate III rankAdvocate III
5 years ago
Solved

using fucntions IF, &&&(AND), Colum with data and Column without Data

Could someone help to find the problem,  I am trying to category data result from diferent columns that has data or not.  lookingto get:   HD_ACT HD_EXPD C_ACT C_EXPD result HD_ACT 1...
  • perezco's avatar
    perezco
    5 years ago

    I found the error. it has inside of the logic, no symtax issue.

  • Icey's avatar
    Icey
    5 years ago

    Hi perezco ,

     

    Glad to hear that you have solved the issue.

     

    And I find that, it is just caused by this:

     


     

    VAR ISData_C_ACT =
    NOT ( ISBLANK ( data[HD_ACT_SKU_Number] ) )  -----------Change to data[C_ACT_SKU_Number]


    VAR ISBlank_C_ACT =
    ISBLANK ( data[HD_ACT_SKU_Number] )    -----------Change to data[C_ACT_SKU_Number]


    VAR ISData_C_EXPD =
    NOT ( ISBLANK ( data[HD_EXPD_SKU_Number] ) )  -----------Change to data[C_EXPD_SKU_Number]


    VAR ISBlank_C_EXPD =
    ISBLANK ( data[HD_EXPD_SKU_Number] ) -----------Change to data[C_EXPD_SKU_Number]

     


     

    Right?

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.