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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.

Top Solution Authors