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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 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.

Top Solution Authors