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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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