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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I'm in stuck with my problem. Let's say I have 2 tables: Quotes and Shipments. My goal is to transfer QuoteID from Quotes table into Shipments table if such conditions are met:
Condintion = Condition
Departure is between StartDate and ExpiryDate
please see my file via this link
Solved! Go to Solution.
Hi @Anonymous,
You could try this:
Quote ID = CALCULATE ( FIRSTNONBLANK ( Quotes[Quote ID], 1 ), FILTER ( Quotes, Quotes[Condition] = EARLIER ( Shipments[Condition] ) && EARLIER ( Shipments[Departure] ) >= Quotes[StartDate] && EARLIER ( Shipments[Departure] ) <= Quotes[ExpiryDate] ) )
Best regards,
Yuliana Gu
Hi @Anonymous,
You could try this:
Quote ID = CALCULATE ( FIRSTNONBLANK ( Quotes[Quote ID], 1 ), FILTER ( Quotes, Quotes[Condition] = EARLIER ( Shipments[Condition] ) && EARLIER ( Shipments[Departure] ) >= Quotes[StartDate] && EARLIER ( Shipments[Departure] ) <= Quotes[ExpiryDate] ) )
Best regards,
Yuliana Gu
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
37 | |
31 | |
26 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |