I need to convert an Excel formula that has been created using conditional statement with logic operator. I am new in Tableau and unable to create a measure using the formula mentioned below:
IF([p_category]="P Invoice","P Invoice",IF(AND([p_category]="Non-P Invoice",OR([P Required YN]="Y",OR([P Required YN]="Flat Y and N if weighted",[P Required YN]="Y if not intercompany"))),"Non-Accepted Non-P Invoice","Accepted Non-P Invoice"))