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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
rogerandrew
New Member

Help linking lead and spend data

Hello, 

I'm having trouble linking together two tables and getting the results I'm after. Relatively new to this paradigm so any help at all would be so helpful.

1. A leads table

2. A log of spend by cost category

 

All I need to be able to do is be able to see the return on investment by Cost Category over time and ideally, the cost per lead for each cost category in a given month. 

 

I'm happy writing the measures to work out ROI and CPL once the tables are linked, but I can't work out the correct way to link them. 

 

I'm probably being stupid but hopefully the solution is relatively simple. Examples of each table are below.

 

Leads

Created DateLead idCost CategoryRevenue
01/01/2023iklvnsdklnfdlsPaid Search10,000
04/02/2023jnfurbeybvasPaid Social5,000

 

Cost Category

DateCost CategoryCost
12/01/2023Paid Search1354
28/02/2024Paid Social2100
1 REPLY 1
lbendlin
Super User
Super User

You need to add a Dates table to your data model, and describe the reporting granularity (you said monthly?)

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors