Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

True or False Conditional formatting inside the same tables and DAX

Hi,   How can I compare the multiple column inside the same tables via Power BI formula and conditional formating?   I have a one Table that contains text and numbers from column B:I.  Column B:...
  • BA_Pete's avatar
    BA_Pete
    6 years ago

    Hi Anonymous ,

     

    Please try this calculation in your custom column:

    if List.IsEmpty(List.RemoveMatchingItems(Record.FieldValues(_), {"", null})) then "NA"
    else if [FRUIT LIST] = [FRUIT LIST_1] and
    [AREA CODE] = [AREA CODE_2] and
    [LANGUAGE] = [LANGUAGE_3] and
    [SALES CODE] = [SALES CODE_4]
    then "YES" else "NO"

     

    Pete