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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
George1973
Helper V
Helper V

Applying constant variable from unrelated table

Hi All,

I have the following issue:

There are two not directly retalted lookup tables - "Vendors" and "Goods". They are related through the data table "Operations".
Each vendor has its own delivery days field. I'm trying to use/apply these field for the relevant/related (through operations table) goods as well. ..And I fail 😞

 

Here is the sample visualition of the issue:

George1973_0-1616751836925.png

In another words I would like to create a dax measure calculating "delivery days" for each product related to the supplier.

 

Please help me with it.

 

Thanks in advance

 

 

 

 

 

2 REPLIES 2
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

hey, 

 

you can create a measure that sum the delivery days and us the userrelantionship funtion to activate a relantionship between those 2 unrelated table for this dax example: 

 

calculate(sum(table vendor[delivery days]),USERELATIONSHIP(table vendor[suplier],table product[supplier index])

 

if this was of help give some kudos, if solved you question mark as solution for others to find. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




Hi,

Thanks for the feedback.  That formula might work if I had supplier index in product table, but I have not, that's why the field is gray assuming how I want to assign the result by the suppliers.

 

As described - The only relation we have between those two vendors and products table is "Operations" data table with it Operation_ID.

The slicers and page filters work perfectly when using those two tables and measures from binare related data tables, like in the picture below:

George1973_0-1616779508326.png

(The products are filtered based on the selected vendor from the right table).

But when I try to assign "delivery days" from vendors to products directly, it does not work, even with your suggested formula:

George1973_1-1616779747403.png

(Here we have the total sales dissapiared and "correct" delivery days, from ALL product list, without filter)



 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.