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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
R__J
Frequent Visitor

Trying to link offers to orders without direct relationship

Hi all,

I am not able to find an answer on the following problem i am facing.

The model has a customer table, offer table, offer items and quantity table
Then i also have an order table with an items and quantity table.

Offer is linked to customer and so is the order. Offer item is linked to offer and order item is linked to order.

There is no link between order and offer, a customer can make one order combining multiple offers.

 

What i try to achieve is per customer to check the offers

During this check i need to check per item the amount that was offered and compare this to orders made by the same customer.

So all offered items combined and compare to all ordered items combine for this customer (could be a positive or negative delta).

The outcome should  be a Order equal offer Order not equal offer.

There is no option to link orders and offers directly then via customer. Solution can be a calculated column to any of the tables or a dax measure 

 

Below should give a Customer 1 All Ordered, Customer 2 not all ordered

 

My setup is the following.

 

I have a table with all Offers with a related table of all individual items of the offer.

Offernumber Offer nameCustomer number

C1-1

Name1Customer1

C1-2

Name2Customer1

C1-3

Name3Customer1

C2-1

Name 4Customer2

 

OffernumberItemAmount

C1-1

Item11
C1-1Item210
C1-1Item330
C1-2Item11
C1-2Item210
C1-3Item11
C1-2Item210
C1-2Item330
C2-1Item210

 

 

the order part is 

 

Order number Order nameCustomer number

C1-O1

Name1Customer1

C1-O2

Name2Customer1

C2-O1

Name2Customer2

 

OrdernumberItemAmount

C1-O1

Item11
C1-O1Item230
C1-O2Item360
C1-O3Item12
C2-O1Item25

 

Any ideas 

 

Thanks

RJ

3 REPLIES 3
R__J
Frequent Visitor

Hi

 

that was my mistake. Order and offer Names are not related and can be anything typed in by a user

 

thx

Does your real data contain timestamps? Are you trying to show this by a certain period?

lbendlin
Super User
Super User

Is the offer name correlated to the order name?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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