Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
I could use some help calculating the following measure.
So I have 3 tables containing a lot of data.
The goal of my measure is to calculate the total conversion from lead to sale.
Note that my relationship is only set-up as followed :
So a customer can have multiple leads and multiple sales.
I would need to calculate the number leads that have been qualified, meaning have a sale that is generated after the lead creation date and not later then 90 days after the creation date.
My main difficulty is the many to many kind of this calculation! A column or measure, both would be fine!
Hope someone can help me out! 😊
Hi @Anonymous
Can you provide some sample data and expected result to help us understand it better? As you said, a customer can have multiple leads and multiple sales, so how can we know which leads are related to which sales?
Best Regards,
Community Support Team _ Jing
@Anonymous , You can create a new column in lead like
Has sales = var _1 = countx(filter(sales, lead[customer id] = sales[customer ID] && Sale[Sales Date] >= Lead[Lead Date] && Sale[Sales Date] <= Lead[Lead Date] +90 ), Sales[Sales ID])
Return
if(isblank(_1), false(), True())
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.