Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Dear experts and friends, I need help with below, if you can advise what is the best approach to link the tables / measure. Idea is to leverage the measure already created in table 1 and use a common shipment ID as a link.
Goal - To link measure (fx) of Events_Table1 with measure (fx) of Count_Invoice_ID in Invoice table2
Issue - Unable to link the measures of the tables and unable link measure in table 1 with invoice table 2 columns
Help needed _ Please find below details, hope I am able to explain what is needed by using below data model and table details.
Let me know if you need more information. Regards
Events_Table1 | Invoice_Table2 | Comments |
Unique Shipment_ID (Primary Key) | Shipment_ID | Duplicate Shipment_ID in table2 |
Origin | Unique Invoice_ID | Multiple Invoice ID for same Shipment_ID |
Destination | Origin | |
Truck Arrival time stamp | Destination | |
Truck Depart time stamp | Truck Arrival time stamp | |
Measure(fx)-Count_of Truck arrival time stamp | Truck Depart time stamp | |
Measure (fx)-Count_ Truck Depart time stamp | Measure (fx)- Count_Invoice_ID |
Hi @anands06 from picture I see your table are connected via inactive relationship.
To get measure working for this scenario in DAX you need your measure to use function USERELATIONSHIP, pattern as below
UsingUseRel=
CALCULATE (
[<your measure],
USERELATIONSHIP ( Table1[ColumnNameX], Table1[ColumnNameX]] )
)
Did I answer your question? Mark my post as a solution! Kudos Appreciated!
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
11 | |
10 | |
9 | |
8 |