Forum

is there a way to a...
 
Notifications
Clear all

is there a way to auto display "grant total" at the bottom of last row in power query, before transform into excel

4 Posts
2 Users
0 Reactions
94 Views
(@caroltxy)
Posts: 17
Eminent Member
Topic starter
 

Base on my attachment above (i took the screenshot from video 7.09). i saw there is the "total budget" formula was set in query, by sum up the entire "budget" column").

 

Suddenly i have a question in my mind - if there is a way that Power Query could help me to auto display the total sum of budget at the bottom of last row in "budget" column column after transform into excel template?  Currently, i am putting "sum" excel formula manually in excel spreadsheet, after click "refresh" at each time.  

 
Posted : 11/05/2020 10:37 am
(@mynda)
Posts: 4762
Member Admin
 

Hi Tan,

You can turn on the 'Totals' in Excel Tables via the table tab in the ribbon. Do this in the table that loads into Excel after you click 'Close & Load'.

Mynda

 
Posted : 11/05/2020 11:38 pm
(@caroltxy)
Posts: 17
Eminent Member
Topic starter
 

apologize for being new here and not really catch on how to turn on "totals" in excel tables..Does it mean auto sum function in excel..wonder if you could quick demo here :-)....thanks again first for your reading time 

 
Posted : 16/05/2020 8:46 am
(@mynda)
Posts: 4762
Member Admin
 

Hi Tan,

It's dead easy and pretty self explanatory if you just turn them on and select the cell containing the total you'll see it has a drop down with options and will show you the formula.

You can also see it explained in this post on Tables and Structured References under 'magic trick # 2'.

Mynda

 
Posted : 16/05/2020 7:20 pm
Share: