I am new to Visual Analytics (7.1) and I have a large dataset with many variables.I am working on creating a visualization in Report Designer. I would like to create a line graph and allow the user to select the Y axis from the long list of variables in the measures field using a drop down box. The X axis would remain consistent as a year field.
Any suggestions?
Hi Idenney,
Maybe not ideal, but the solution for that would require you to load a small table containing the list of measure names you want to be available in your selection control object (e.g. dropdown list). If you associate a character parameter to the dropdwon list (e.g. measureSelection), you could use a calculated item like this in the Y axis, instead of a fixed MeasureN:
IF 'measureSelection'p = 'Measure 1'
RETURN Measure1
ELSE IF 'measureSelection'p = 'Measure 2'
RETURN Measure2
ELSE IF 'measureSelection'p = 'Measure 3'
RETURN Measure3
ELSE .
The only caveat on this approach is that you will need to choose a neutral format for this calculated item that works well with any Measure returned by the formula. For example, if Measure1 is currency and Measure2 is a frequency count, you woul have to format it as numeric, or something similar.
Best,
Renato
Thanks Renato - I will give this a try!
Hi There,
First of all you need to know the differece between Report Designer and Data Exploration.
In Report Designer, we used to create REPORTS using different sections with multiple data sources.
In Data Exploration, we used to do exploration about the data. Those are VISUALIZATIONS not reports.
This is for your understanding the terminology in VA.
We can meet these kind of requirements. Please try to use Controls and Parameters where it necessary.
Regards,
Venu Murala
Hi Idenney,
It's better to use Stack container.....
Thanks & Regards,
Teja Surapaneni.
I agree with you, Teja. We should try to rely on the objects provided by VA to solve problems like that whenever possible. Stacked container is a good one for this case.
You can create one and polish it the way that you want, then simply create copies of it (duplicate menu option) and only change the data element of interest on those copies.
And then when you want to change your polished version you have to change a lot of graphs. The parameter solution is working fine though.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.