Solved

Sql Report Builder - Chart

Posted on 2015-01-29
1
125 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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