Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Jedahn
Frequent 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 4
BrianConnelly
Resolver III
Resolver 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>]
)
FreemanZ
Super User
Super User

hi @Jedahn 

please provide your sample data tables, it is easier for all. 

Hello. I was trying to but i can't find it. Where can i find the attach file button?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.