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
Daniels2204
Frequent Visitor

How to multiply a filtered value with another filtered value in Direct Query

Hi There,

 

I need to calculate the total sum of the hours worked by the hourly cost of each employee that are in two different tables

 

EMPLOYER
COD_EmpCost- Hour
001 $       15.000
002 $       23.000
003 $          4.000
004 $          6.500
005 $       25.000
006 $       12.000
007 $       15.000
008 $       19.000

 

RECORD
COD_EmpHourDate
0082,51/01/2020
00111/01/2020
00731/01/2020
00192/01/2020
00342/01/2020
00532/01/2020
00822/01/2020
00522/01/2020
00231/01/2020
00322/01/2020
00761/01/2020
00873/01/2020
00133/01/2020

 

TOTAL
Jan?
Feb?
Mar?

 

Please, your help. thanks

1 REPLY 1
AlexisOlson
Super User
Super User

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.