Hello Experts,
How come the waterfall chart in SAS Viya for Learners only accept categorial variable? I am trying to use it on profit and revenues.
Thanks for any help given.
Hi @Genoa,
which Data role of the waterfall are you refering to?
(Image taken in VA 7.5)
Best
Markus
Hi @Genoa,
for the category you need category variables. @acordes already showed, what you could do.
Best
Markus
Look at the structure, it's quite straightforward.
If you want to visualize revenue vs profit as a waterfall chart, you could convert revenue into categorical variable after binning it.
so
Step1: binned_revenue=round(revenue, 100000)
Step2 binned_revenue_cat=format(binned_revenue, best12.)
Step3: Use binned_revenue_cat as categorical variable
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.