Solved

Showing 2 graph types in one rdl

Posted on 2010-11-16
5
460 Views
Last Modified: 2012-05-10
Hi experts!

I have a report that needs to contain a graph along with a table underneath showing the dataset values. I am required to either render the graph portion as a bar graph or a line graph depending on a parameter that is passed into the report. The dataset remains the same for either graph.
Do I simply drag 2 graphs onto the designer (1 bar graph type and 1 line graph type) and simply hide 1 or the other based on the parameter? Or is there another more clever way to do this dynamically?

I only want to show either the bar graph or the line graph but not both at the same time.

Thanks.
0
Comment
Question by:maloriopolium
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 10

Accepted Solution

by:
itcouple earned 500 total points
ID: 34154028
Yes

Hide/Show usually is the approach to do that. But also look for properties which specify bar/line to see if you can set it up conditionally. I'm just going to see if there is one.

Regards
Emil
0
 
LVL 10

Expert Comment

by:itcouple
ID: 34154042
The property is called Type.... but doesn't allow expressions :(

Regards
Emil
0
 
LVL 10

Expert Comment

by:itcouple
ID: 34154050
Another option is to add graph/line on the same graph (literally) and use visibility to hide/show but I'm not sure how the Axis would behave in that case.

Regards
Emil
0
 

Author Comment

by:maloriopolium
ID: 34154260
Hi itcouple,

What do you mean by the property called Type? Where is this?
0
 
LVL 10

Expert Comment

by:itcouple
ID: 34154458
Hi

If you click the bar or line or point on the graph and go to properties pane (F4) - at least that is where I find it in R2. There is property called type, but it will not help as you cannot use expressions in it. What a shame.

Regards
Emil
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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