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! Learn more

Reply
game1
Helper III
Helper III

subtract between two columns from 2 different tables

Hi,
I want to subtract between two columns from 2 different tables.
For example, I have TABLE1[DateBirth] and TABLE2[DateDeparture]. The problem is that there is no cardinality between TABLE1 and TABLE2. How should I go about doing this? Related does not work and when I use datediff, I do not have access to the fields of TABLE2, because I created "DiffDate = " in TABLE1

2 REPLIES 2
ChielFaber
Solution Supplier
Solution Supplier

Are there any columns in your datascource that could be used to create a key? Could you provide a sample table with dummy data for us to provide a solution?


[Tip] Keep CALM and DAX on.
[Solved?] Hit “Accept as Solution” and leave a Kudos.
[About] Chiel | SuperUser (2023–2) |

Yes. Both table have in common IDName. But I try to connect cardinality and it didn't work.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Kudoed Authors