Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Report builder 3.0 How to display all months in x-asis

$
0
0

I can't get a chart to display all months on the x axis when there is data only for some months. I have data only for September and October, but I want to display all the other months too. I have to do this same thing for year, day, and quarter.


I would like to have in the x axis all the months from January to December even tho there is no data registered.

Part of my code:

=SWITCH
(
Parameters!Grouping3.Value = "Month", Monthname(Month(SWITCH(
Parameters!Grouping2.Value = "StartDate",Fields!StartDate.Value,
Parameters!Grouping2.Value = "DueDate",Fields!DueDate.Value,
Parameters!Grouping2.Value = "ProposedResolutionDate", Fields!ProposedResolutionDate.Value
))).ToString() & " " & Year(SWITCH(
Parameters!Grouping2.Value = "StartDate",Fields!StartDate.Value,
Parameters!Grouping2.Value = "DueDate",Fields!DueDate.Value,
Parameters!Grouping2.Value = "ProposedResolutionDate", Fields!ProposedResolutionDate.Value
)).ToString()


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>