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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mpalha04
Helper III
Helper III

Joining Tables

Hello,

 

I have the following columns below, but I would only like to show the rows where Id=FirstProofMessageId. How do I go about doing this? These columns are from 2 seperate tables on my reports and are joined by the OrderId column. The "First Proof Date" is a calculated column with the formula below:

 

First Proof Date =
IF (
vProofMessage[Id] = RELATED ( vReviewOrderSLA[FirstProofMessageId] ),
vProofMessage[MessageSentTimeLocal]
)

 

Any help is appreciated!

 

Capture.JPG 

Thanks

 

6 REPLIES 6
gselvag
Helper I
Helper I

Create a measure that include CALCULATE and FILTER function to return table (row) with only Id=FirstProofMessageId values. 

Greg_Deckler
Community Champion
Community Champion

Can you provide example data from the 2 tables so we know what columns are in each? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks @Greg_Deckler, please see below.

 

vProofMessage:

 

Capture.JPG

 

vReviewOrderSLA:

 

Capture.JPG

Text please, I hate typing.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler,

 

Please see below:

 

vProofMessage: 

 

36977140009/13/2018 14:13
36977149429/18/2018 16:23
36977149439/18/2018 16:23
36977149449/18/2018 16:24
36977149749/18/2018 18:33
36977151599/19/2018 16:26
36978140179/13/2018 15:13
36978140759/13/2018 17:42
36978141029/13/2018 19:25
36978144809/16/2018 13:02
36978144899/17/2018 2:31
36979140279/13/2018 15:53

 

vReviewOrderSLA:

 

9/13/2018 12:213697614006
9/13/2018 12:443697714000
9/13/2018 13:033697814017
9/13/2018 13:173697914027
9/13/2018 13:383698014063
9/13/2018 13:443698114049
9/13/2018 13:503698214025
9/13/2018 13:543698314018
9/13/2018 14:043698414739
9/13/2018 14:313698514048
9/13/2018 14:483698614041
9/13/2018 14:483698714079

Just filter the blanks from your First Proof Date measure. See attached, Page 5.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.