Forum

Totals from 2 rows ...
 
Notifications
Clear all

Totals from 2 rows into 1 row

5 Posts
2 Users
0 Reactions
70 Views
(@jaryszek)
Posts: 177
Reputable Member
Topic starter
 

Hi,

i am not sure if this topic should be in PQ forum or Power Pivot. 

i have pivot table like in screen attached. 
there are all Topologies and tiers and Total costs calculated.
This is ok. 

The problem is that i have in "Expected result" worksheet in column "Total Cost per Topology" costs for whole topology (not divided per tier)

And i have to sum up all costs together (Total Cost per Topology + Total cost for Topology and Tiers). 
I do not think that it is possible in one table so i thought that i can build separate table.

It is possible to do this in PQ? 
Or maybe there is other solution?

Please help,
Jacek

 
Posted : 05/02/2019 9:12 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Jacek,

I'm confused. Your source data doesn't have the 'Total Cost per Topology', but it's in your 'Expected Result'. Is there a second source data somewhere that contains the 'Total Cost per Topology'?

Mynda

 
Posted : 05/02/2019 7:20 pm
(@jaryszek)
Posts: 177
Reputable Member
Topic starter
 

hi Mynda,

thank you. 
yes Total Cost per Topology is from second table. 
I have just put this into my expected result woeksheet. 

Best,
Jacek 

 
Posted : 06/02/2019 5:21 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Jacek,

Please see attached. I think it's time for you to take a Power Query course. These aren't difficult questions and are things you should be able to easily work out for yourself if you did a bit of training.

Mynda

 
Posted : 06/02/2019 6:50 am
(@jaryszek)
Posts: 177
Reputable Member
Topic starter
 

Thank you Mynda,

all is working fine!
Best,
Jacek

 
Posted : 07/02/2019 3:12 am
Share: