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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
edwardroa
Helper I
Helper I

How to multiply each row value by a fixed value from another table?

Hi all,

 

Thanks for looking into my query.

 

I would like to add a column to my data by which it multiplies a row in my table (Price) by a fixed value from another table (Brokerage). I would prefer to do this in Power Query as opposed to a measure. The 2 tables are shown below as an example:

edwardroa_0-1661828563637.png

 

The formula is as below:

edwardroa_1-1661828620017.png

 

Thank you so much for your help!

 

Kind regards,

Edward

 

 

1 ACCEPTED SOLUTION
MahyarTF
Memorable Member
Memorable Member

Hi,

1- In Power Query, in the main table, click on the 'Custom Column' in the 'Add Column' tab. 

2- Put the table name in the Box : (for me was 'Sheet139') :

MahyarTF_0-1661848073030.png

3- Expand the new column and click Ok 

MahyarTF_1-1661848128843.png

 

4- then Create new column and do as below :

MahyarTF_2-1661848204023.png

You could change the data type to currency and use it in your visuals

Appreciate your Kudos

Mahyartf

View solution in original post

3 REPLIES 3
MahyarTF
Memorable Member
Memorable Member

Hi,

1- In Power Query, in the main table, click on the 'Custom Column' in the 'Add Column' tab. 

2- Put the table name in the Box : (for me was 'Sheet139') :

MahyarTF_0-1661848073030.png

3- Expand the new column and click Ok 

MahyarTF_1-1661848128843.png

 

4- then Create new column and do as below :

MahyarTF_2-1661848204023.png

You could change the data type to currency and use it in your visuals

Appreciate your Kudos

Mahyartf

Thank you so much for your solution, this is perfect!

amitchandak
Super User
Super User

@edwardroa ,

 

a new column in table 1

 

funded value = [Price]*(1+ Max(Table2[Brokerage]) )

 

or

 

funded value = [Price]*(1+ Average(Table2[Brokerage]) )

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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