Forum Discussion
Jedahn
3 years agoFrequent Visitor
Dax Formula
Hello PowerBI Community,
So I have two datasource in excel. First is the "Target" table which contains the names of the customers that the employees need to call. Second is the "Actual" table that contains all calls made by the employees to their customers. I want to know is if they called their target customers it will return a unique count as 1, if not then 0.
I'm using this excel function when I want to have a result mentioned above.
=IFERROR(XLOOKUP(C2,'Target Table'!G:G,'Target Table'!I:I),0)
Thank you very much,
4 Replies
- BrianConnellyResolver III
I would probably start with the lookup function and add rules as needed...
LOOKUPVALUE( <result_columnName>, <search_columnName>, <search_value> [, <search2_columnName>, <search2_value>]… [, <alternateResult>] )