Solved

Sql Report Builder - Chart

Posted on 2015-01-29
1
126 Views
Last Modified: 2015-02-07
Hi All,

I have created using microsoft report builder report , its number of stocks sold in the financial year.
(1/4/2014- 31/3/2015)
My questions is
Some months there is no sold its zero. after creating bar graph,Bar graph is ignoring 0
for example May there are no item sold -0
Then Bar graph is not showing May and starting from June.
What i need to show is if there is zero(0) in any  month i,i need to show in the bar graph.
furthermore i have to show 1/4/2014 to  31/3/2015 if any sold is blank
Can some one show me how to that, any advice is highly appriciated.
Many Thanks
0
Comment
Question by:ukerandi
1 Comment
 
LVL 9

Accepted Solution

by:
rajeevnandanmishra earned 500 total points
ID: 40579354
Hi,

In my opinion you can create a month table with below structure:
Id        Month    MonthName
1         4              April
2         5              May
....
12       3            March

Now make a left outer join of your data with this table. This makes sure that you always get 12 months data (will be zero for which month there is no data).

If still there is problem, then please pass on  your current query.
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

761 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question