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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thanks @Greg_Deckler, please see below.

 

vProofMessage:

 

Capture.JPG

 

vReviewOrderSLA:

 

Capture.JPG

Text please, I hate typing.


@ 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!:
The Definitive Guide to Power Query (M)

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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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