Forum Discussion
using if function to create custom column
mcnemare I think you want:
if(
Find(
(#"TM product enrollment master list"[Branch Description]),
(#"Navigator Account Extract"[Branch Description]),,
,0
) > 0,
"No",
"Yes"
)
Note: The double comma is NOT a mistake!!
You might be interested in this: https://community.powerbi.com/t5/Quick-Measures-Gallery/Fuzzy/m-p/1352914#M608
- mcnemare5 years agoFrequent Visitor
Thank you for your assistance,
When using this function to create a custom column, it did resolve the previous issue. But I am getting
a token literal expected error.
thoughts?
(#"Navigator Account Extract"[Branch Description]),,if( Find( (#"TM product enrollment master list"[Branch Description]), (#"Navigator Account Extract"[Branch Description]),, ,0 ) > 0, "No", "Yes" )- mcnemare5 years agoFrequent Visitor
I was able to resolve this it was '#', using ' is better.
I am now getting an error stating that
Too many arguments were passed to the FIND function. The maximum argument count for the function is 4.
I'm only comparing the same 2 variables from two seperate tables.
Any thoughts ? @Greg_Deckler
if( Find( ('TM product enrollment master list'[Branch Description]), ('Navigator Account Extract'[Branch Description]),, ,0 ) > 0, "No", "Yes" )---
Below is a simplified example of the data I am working with.
I am wanting to make the calulated column on the sales module table.
- Greg_Deckler5 years agoCommunity Champion
mcnemare Sorry, I missed that you had a comma in the next row, should be:
if( Find( ('TM product enrollment master list'[Branch Description]), ('Navigator Account Extract'[Branch Description]), ,0 ) > 0, "No", "Yes" )