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
hunt511
Regular Visitor

substract multiple columns from multiple tables

hey all, 

trying to figure this one out, i have to count for all the unccounted hours. this will look like x=(a-b) - (c-d). i tried to do just that,creating a quick measure for (a-b) then anothe for (c-d) and then another for the formula.. makes no sense, don't laugh i don't know power query. going that route gives me wrong results for whatever reason. 

is there a simpler way in doing that?

 

and no, i cannot do that in sql, since it comes from totally different databases from different servers ( maybe i can, but i don't know it).

 

all values(a,b,c,d) are coming from diff tables. value 'a' and 'b' are  measures using calculate function. 'c' and 'd' are columns from 2 different tables. 

 

Happy Holidays and thank you in advance. 🙂 

1 ACCEPTED SOLUTION

its a simple math problem, each value (a,b,c,d) its a column in different tables.values are decimal numbers.  your link takes me to merge columns. 

View solution in original post

2 REPLIES 2
1Daniel993
Helper III
Helper III

its a simple math problem, each value (a,b,c,d) its a column in different tables.values are decimal numbers.  your link takes me to merge columns. 

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