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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors