SOLVED
Home

How to add a row in PivotTable which is not included in the data?

%3CLINGO-SUB%20id%3D%22lingo-sub-334914%22%20slang%3D%22en-US%22%3EHow%20to%20add%20a%20row%20in%20PivotTable%20which%20is%20not%20included%20in%20the%20data%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-334914%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20day.%20I%20am%20a%20beginner%20of%20excel%20user.%20I%20have%20met%20a%20trouble%20in%20using%20Pivot%20Table.%3C%2FP%3E%3CP%3EI%20want%20to%20make%20a%20report%20but%20i%20found%20that%20i%20can't%20add%20a%20blank%20row%20for%20the%20category%20which%20is%20not%20include%20in%20the%20data.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20I%20obtain%20a%20transaction%20record%20of%20customer%20in%20Jan%20and%20I%20would%20like%20to%20make%20a%20transaction%20report%20for%20customer%20A%2CB%2CC%2CD%2CE.%20It%20is%20noted%20that%20customer%20E%20did%20not%20make%20any%20transaction%20in%20Jan%20and%20thus%20there%20is%20no%20record%20for%20Customer%20E%20in%20the%20database%20(Transaction%20Record).%20When%20I%20use%20the%20pivot%20table%2C%20it%20works%20properly%20for%20customer%20A%2CB%2CC%2CD.%20But%20how%20can%20I%20add%20one%20more%20row%20for%20customer%20E%20in%20the%20pivot%20table%20in%20order%20to%20record%20for%20the%20zero%20transaction%20in%20the%20report%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-334914%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%20pivot%20table%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20Problem%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-334985%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20add%20a%20row%20in%20PivotTable%20which%20is%20not%20included%20in%20the%20data%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-334985%22%20slang%3D%22en-US%22%3E%3CP%3EAnother%20way%2C%20not%20to%20add%20dummy%20records%20every%20time%2C%20you%20may%20add%20separate%20table%20with%20list%20of%20all%20your%20customers%2C%20create%20relationship%20with%20your%20transactions%20table%20on%20customers%2C%20and%20use%20customers%20name%20from%20the%20second%20table%20creating%20Pivot%20Table.%20When%20create%20it%2C%20check%20'Add%20data%20to%20data%20model'%20box.%20In%20Pivot%20Table%20options%2C%20Display%20tab%2C%20check%20'Show%20item%20with%20no%20data%20on%20rows'%20box.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20long%20table%20of%20transactions%20where%20all%20customers%20exist%2C%20and%20you%20filter%20Pivot%20Table%20on%20month%20in%20which%20some%20customers%20make%20no%20transactions%2C%20it'll%20be%20enough%20to%20check%20'Show%20items...'%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-334918%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20add%20a%20row%20in%20PivotTable%20which%20is%20not%20included%20in%20the%20data%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-334918%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%2C%3C%2FP%3E%3CP%3Etry%20to%20add%20this%20information%20in%20your%20data%20sheet%2C%20for%20example%20add%20a%20row%20%2C%20client%20E%2C%20jan%200.%20in%20your%20pivot%20table%2C%20right%20click%20and%20press%20%22refresh%22.%3C%2FP%3E%3CP%3Egood%20luck%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-740862%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20add%20a%20row%20in%20PivotTable%20which%20is%20not%20included%20in%20the%20data%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-740862%22%20slang%3D%22en-US%22%3E%3CP%3EPivot%20tables%20generally%20use%20data%20from%20an%20array%20elsewhere.%26nbsp%3B%20You%20would%20have%20to%20add%20data%20to%20the%20source%20of%20the%20pivot%20table%2C%20and%20then%20change%20the%20source%20data%20size%20on%20the%20%22Analyze%22%20tab%20of%20the%20pivot%20table.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20find%20it%20easiest%20to%20make%20the%20source%20of%20the%20pivot%20table%20a%20table%20and%20then%20when%20adding%20data%20just%20clicking%20on%20%22Refresh%22%20on%20the%20Analyze%20tab%20of%20the%20pivot%20table.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20kind%20of%20a%20rough%20description%20but%20I%20hope%20it%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Qweaqwes1500
Occasional Visitor

Good day. I am a beginner of excel user. I have met a trouble in using Pivot Table.

I want to make a report but i found that i can't add a blank row for the category which is not include in the data. 

 

For example, I obtain a transaction record of customer in Jan and I would like to make a transaction report for customer A,B,C,D,E. It is noted that customer E did not make any transaction in Jan and thus there is no record for Customer E in the database (Transaction Record). When I use the pivot table, it works properly for customer A,B,C,D. But how can I add one more row for customer E in the pivot table in order to record for the zero transaction in the report?

 

Thanks.

 

3 Replies

hi,

try to add this information in your data sheet, for example add a row , client E, jan 0. in your pivot table, right click and press "refresh".

good luck

 

Solution

Another way, not to add dummy records every time, you may add separate table with list of all your customers, create relationship with your transactions table on customers, and use customers name from the second table creating Pivot Table. When create it, check 'Add data to data model' box. In Pivot Table options, Display tab, check 'Show item with no data on rows' box.

 

If you have long table of transactions where all customers exist, and you filter Pivot Table on month in which some customers make no transactions, it'll be enough to check 'Show items...'

Pivot tables generally use data from an array elsewhere.  You would have to add data to the source of the pivot table, and then change the source data size on the "Analyze" tab of the pivot table.

 

I find it easiest to make the source of the pivot table a table and then when adding data just clicking on "Refresh" on the Analyze tab of the pivot table.

 

This is kind of a rough description but I hope it helps.