I need help to build a specific measure please

fl164

New Member
Joined
Oct 22, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
So, I'll try to be clear, and sorry if bad explained, I'm quite new on power pivot.

The data base is :
Table1
Workorderproductdata_typehourquantityothers... (line, date, etc...)
123456AAA10xxx
123456AAB2000xxx
123456AAC1xxx
123457BBA12xxx
123457BBB3600xxx

Another tabel is in relationship by product :

Table2
ProductOutputRate
AA220
BB260

And I need to build a performance KPI in my excel dashboard to measure the theoritical output rate (from the second table) versus the real output rate (calculated by product form the firs table : total quantity (by product/workorder)) / total hours (by product quantity).

I already builded some measures :

Total Quantity:=SUM(Table1[Quantity])
Total Hour:=SUM(Table1[Hour])

And I use them correctly with Cubevalue in excel.

But now I struggle to make this calculation (performance result), done previously by the SUM of colomn B and D here below, by only one calculation (either by cubevalue or power pivot) :

ProductHourQuantityHour "target" (=quantity/OutputRate)
AA102000=2000/220=9,1
BB123600=3600/260=13.8
TOTAL : 2222,9
performance = 22/22,9=104%

Thank you for your kind help :)
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Is it a difficult question?
I think I need DAX to build the solution but I don't know exactly how.
If you have any ressources to share about DAX, I'd love to learn more.

Thank you
 
Upvote 0

Forum statistics

Threads
1,223,996
Messages
6,175,853
Members
452,675
Latest member
duongtruc1610

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top