This is a discussion on Problem with Excel Pivot Table within the SQL Server forums, part of the Microsoft SQL Server category; --> I am facing problem like; We generate reports thru Excel Pivot table. The data is coming from sales cube. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am facing problem like; We generate reports thru Excel Pivot table. The data is coming from sales cube. Let?s assume that there are 2 products A and B. The user wants to filter for each product and view ?stock in hand? and ?total sales? for particular month (as two columns). From the Pivot table filtering, when we choose product A and month ?Jan?, it is showing values for ?stock in hand? and ?total sales? columns for that month. But when we choose product B and month ?Jan?, it is only showing ?stock in hand? value and the ?total sales? column was suppressed/unseen. We know that there is no sales transaction for ?Jan? month. But we still want to show the column title even if there are no records in the database / cube. I am not using any scripting, this pivot table was generated just thru Pivot table wizard. Any way to achieve this, please advise me. Advanced thanks for u r help. -- Message posted via http://www.sqlmonster.com |
| ||||
| Bajal Mohamed via SQLMonster.com (forum@SQLMonster.com) writes: > I am facing problem like; > > We generate reports thru Excel Pivot table. The data is coming from sales > cube. Let?s assume that there are 2 products A and B. The user wants to > filter for each product and view ?stock in hand? and ?total sales? for > particular month (as two columns). > > From the Pivot table filtering, when we choose product A and month > ?Jan?, it is showing values for ?stock in hand? and ?total sales? > columns for that month. > > But when we choose product B and month ?Jan?, it is only showing ?stock in > hand? value and the ?total sales? column was suppressed/unseen. We know > that there is no sales transaction for ?Jan? month. But we still want to > show the column title even if there are no records in the database / cube. > > I am not using any scripting, this pivot table was generated just thru > Pivot table wizard. I'm not really sure why you are asking this in a newsgroup for SQL Server. It sonds like an Excel issue to me. -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Books Online for SQL Server SP3 at http://www.microsoft.com/sql/techinf...2000/books.asp |