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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
guenfood
New Member

Calculation between 2 tables

Hello,

I have 2 tables, with a relation on the Attribute column.

The 1st "Capacity" table is composed as follows:

ProgramAttributeValue
PurchaseJoelle20
PurchaseNicolas10
SaleJoelle15
SaleNicolas5


My second "Resources" table:

DatedAttributeProgram
09/07/2021JoelleSale
09/07/2021NicolasSale
04/10/2021JoellePurchase
04/10/2021NicolasPurchase
05/10/2021JoelleSale
05/10/2021NicolasPurchase
05/10/2021NicolasSale


On my "Capacity" table, it is the volume that an attribute can process per day depending on the Program.
On my "Resources" table, it is the assignment per day of an attribute on a program.

I must therefore highlight the overall volume that will be processed according to the programs and assignments of the attributes.
example:
For 09/07, for the "Sale" program, I must obtain a value equivalent to 15 (Joëlle's Selling Capacity) + 5 (Nicolas Selling Capacity) = 20

How can I proceed?
Thank you in advance for your help.

1 ACCEPTED SOLUTION

Hi JDIBC,

Thanks a lot. It works great !

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @guenfood 

 

Please try the following:

JDIBC_0-1633469434162.png

Hope this helps. Give a thumbs up if it works!

 

-JID

Hi JDIBC,

Thanks a lot. It works great !

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.