Forum Discussion

honeye_alem's avatar
honeye_alem
Regular Visitor
6 years ago

contain

hello fiends. I need to have contain in my calculate function but i don't know how can I us it . condition is : one column contain "Donate"

1 Reply

  • Nathaniel_C's avatar
    Nathaniel_C
    Icon for Community Champion rankCommunity Champion

    honeye_alem ,

    Try using a var above your CALCULATE() 

    var Test = If CONTAINS(table,[colname],"Donate"), TRUE())
    Let me know if you have any questions.

    If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
    Nathaniel