BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
limonov
Calcite | Level 5

Hi everyone, my requirement was to plot three different measures in only one line chart and to show/hide them with a checkbox. I really can't do this, can you help me?

1 ACCEPTED SOLUTION

Accepted Solutions
Sam_SAS
SAS Super FREQ

Hello,

You can make a line chart with three 3 measures, but toggling the measures is not really possible as far as I know.

 

One workaround is to restructure your data .

From:

A B C
1 2 3
4 5 6

 

To:

Group Value
A 1
A 4
B 2
B 5
C 3
C 6

 

If you do that, then you can create a List control with the Group values and assign the Group variable to the Group role of the line chart.

 

Sam

 

View solution in original post

1 REPLY 1
Sam_SAS
SAS Super FREQ

Hello,

You can make a line chart with three 3 measures, but toggling the measures is not really possible as far as I know.

 

One workaround is to restructure your data .

From:

A B C
1 2 3
4 5 6

 

To:

Group Value
A 1
A 4
B 2
B 5
C 3
C 6

 

If you do that, then you can create a List control with the Group values and assign the Group variable to the Group role of the line chart.

 

Sam

 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 1 reply
  • 379 views
  • 1 like
  • 2 in conversation