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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors