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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Tunahan
Regular Visitor

Multiplication by filtering from different tables

Hi, I have a problem I cannot solve. I want to multiply two tables and filter the rows. I have 2 tables. One of them includes coefficients, and the other one includes costs. I want to multiply costs and the relating coefficients. For example:

 

Coefficients:

AAAx10,6
AAAx20,4
BBBx20,3
BBBy10,7

 

Costs:

 

AAAJanuary 215000
AAAFebruary 213000
BBBJanuary 214000

 

At the end(What I want):

 

x1January 21AAA=5000*0,6
x2January 21AAA=5000*0,4
x1February 21AAA=3000*0,6
x2February 21AAA=3000*0,4
    
x2January 21BBB=4000*0,3
y1January 21BBB=4000*0,7

 

I tried so many formulate like Summarizecolums, calculate, summarize, filter, etc. But, I couldn't get a solution. Thanx for any help.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Tunahan , Best is merge in power query, then both will be in same table

and you can create a new column

 

= Coefficients[Col3]*costs[Col3]

 


merge: https://radacad.com/append-vs-merge-in-power-bi-and-power-query

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Tunahan , Best is merge in power query, then both will be in same table

and you can create a new column

 

= Coefficients[Col3]*costs[Col3]

 


merge: https://radacad.com/append-vs-merge-in-power-bi-and-power-query

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

@amitchandak I tried this but I got a solution like this:

 

x1AAA0,6table
x2AAA0,4table

 

The tables in the cells include:

 

AAAJanuary 215000
AAAFebruary 213000

 

Now, I'm searching the split that table in the cells to rows.

 

Edit: I saw the table expand button, thanx @amitchandak 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.