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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
HitcH
Helper II
Helper II

Cannot display two connected fields together

Hi everyone

This is my situation

Table 1 -> sales order, date of order creation

Table 2 -> sales order, date of delivery

Table 3 -> list of sales order

 

Sales order is connected from 1 to 3 and from 2 to 3.

 

I created a table with sales order (from table 3) and date of order creation (from table 1) -> ok

I created a table with sales order (from table 3) and date of delivery (from table 2) -> ok

I created a table with sales order (from table 3), date of order creation (from table 1) and date of delivery (from table 2) -> not ok ("cannot determine relationship").


I don't get why shouldn't this work 🤔 any help?

 

Regards

4 REPLIES 4
Anonymous
Not applicable

Hi @HitcH ,

 

According to your description, here are my steps you can follow as a solution.

(1)This is my test data.

vtangjiemsft_0-1688007714211.png

 

(2) We can create measures. 

_date of order creation = LOOKUPVALUE('Table 1'[date of order creation],'Table 1'[sales order],MAX('Table 3'[list of sales order]))
_date of delivery = LOOKUPVALUE('Table 2'[date of delivery],'Table 2'[sales order],MAX('Table 3'[list of sales order]))

(3) Then the result is as follows.

vtangjiemsft_1-1688007728989.png

 

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Hi

Thanks for your support.

Actually, your solution is not working for me. I'm unable to attach the file (i get the error message that pbix files are not supported, don't know why: https://community.fabric.microsoft.com/t5/Desktop/The-file-type-pbix-is-not-supported/td-p/3308037).
Anyway, this is the tables that I created as exmaple:

Sales orderDate of creation
109/01/1900
219/02/1900
302/02/1900
417/01/1900
505/01/1900
617/03/1900
730/03/1900
812/01/1900
912/01/1900
913/01/1900

 

Sales orderDate of delivery
507/01/1900
607/01/1900
711/01/1900
814/02/1900
906/03/1900
1009/01/1900
1110/01/1900
1113/02/1900

 

Sales orderNot relevant
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.

You should be able to easily re-create the pbix file with this, but it is not working with your formulas...

 

Thanks in advance!

HitcH
Helper II
Helper II

Just to add some few details that might be helpful:

 

HitcH_0-1687939758395.png

 

I'm unable to display Sales docume / OO Day / OE Day all together

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.