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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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