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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
zahirmohideen
Helper I
Helper I

Calculated column from more than one table

Here is my use case

I have dates in few tables and Date Dimension .
In SQL , I do something as below.

Select a.name , b.desc , COALESCE(a.date1 , a.date2 , b.date3 ) , d.FYQtr
from a.id = b.id and COALESCE(a.date1 , a.date2 , b.date3 ) = d.dateus


How do I accompolish this in Power BI ?

Thanks in Advance.

 

1 ACCEPTED SOLUTION
zahirmohideen
Helper I
Helper I

Thanks very much , Amit

View solution in original post

2 REPLIES 2
zahirmohideen
Helper I
Helper I

Thanks very much , Amit

amitchandak
Super User
Super User

@zahirmohideen , first you have bring table from table B to table a

 

New column in table A

date3 = Maxx(filter(b, a[id] = b[id] ), b[date3] )

 

now you can have coalesce column

Date 4= coalesce([date1], [Date2], [Date3])

 

And now you can use this

 

refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors