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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Justas4478
Post Prodigy
Post Prodigy

Multiplication measure filtered by hierarchy

Hello, I have this measure: 

Basic Pay value = SUM('Agency Data'[Work Hours]) * 10.42
And I need to multiply work hours by pay rate. Problem is that there is different pay rates for different agency.
Is it possible to create measure that would use different pay rate in multiplication based on the agency.
Example Agency 1  - Pay rate £10.42 and if Agency 2 - Pay rate £11.03
 
Thanks
2 REPLIES 2
amitchandak
Super User
Super User

@Justas4478 , Assume your table already have agency name

 

Create a new table with Agency name and Rate

 

Join both Table on Agency name

 

You can create a new column or measure

 

new column = 'Agency Data'[Work Hours] * related(AgencyRate[Rate])

 

 

New measure = sumx( 'Agency Data', 'Agency Data'[Work Hours] * related(Agency Rate[Rate]) )

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

Hi @amitchandak I created slightly more complex table.
I made rates by Shift.My Agency Data table has shift column in it.

Should I join other table by shift instead of agency now?
Does this affect your provided calculated column or measure solutions?

Justas4478_0-1702294420727.png

Thanks.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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