BloodyBill
New Member
- Joined
- Oct 5, 2020
- Messages
- 33
- Office Version
- 365
- Platform
- Windows
Hypothetical situation: You're selling fruit, and outputting sales data from a database as a CSV, and then fetching that data into a data sheet in Excel.
You have a pivot table in which you display date and sales for apples, oranges, peaches and pears. Thus...
One day, you fetch your data from the daily CSV export, but the pivot shows no row for oranges (because there's no oranges sales in the data set).
How can I make the pivot table show an row of zeros to show a lack of sales, if the pivot doesn't have any oranges sales data to work with?
I know I could add something to the end of the data set, but that data set gets completely replaced with every "refresh data." So, I'd have to manually add something every day. I'm looking for an automatic solution.
Also, how can I make sure that the oranges row of zeroes falls in the same place every time (under apples)? Alphabetical is fine, I just don't want it to be added to the bottom row in the pivot table.
Thanks, Bill
You have a pivot table in which you display date and sales for apples, oranges, peaches and pears. Thus...
One day, you fetch your data from the daily CSV export, but the pivot shows no row for oranges (because there's no oranges sales in the data set).
How can I make the pivot table show an row of zeros to show a lack of sales, if the pivot doesn't have any oranges sales data to work with?
I know I could add something to the end of the data set, but that data set gets completely replaced with every "refresh data." So, I'd have to manually add something every day. I'm looking for an automatic solution.
Also, how can I make sure that the oranges row of zeroes falls in the same place every time (under apples)? Alphabetical is fine, I just don't want it to be added to the bottom row in the pivot table.
Thanks, Bill