I am no where as advanced as you guys, I am trying to figure percentages as one of my table fields/another table field-was trying to do this as an advanced expression to give me a percentage.. can anyone assist in the correct language? would be much appreciated, i am still new to this, thanks!
ex: t1.NCOVD_CHRG_AMT/t1.TOT_CHRG
that's what i was using as advanced expression (don't laugh pls)
then i got error
_______
22
76
Error 22-322: syntax error, expecting one of the following: ',', Group, Having, Order, Where.
error, statement will be ignored
So this is in EG? You may want to post it in that forum.
What version of EG and can you provide more details on your data and calculation, and the full code that causes the error.
Usually its straight division and then apply a format of percent to the data.
yes it is in EG, geez, where is that forum, i wil look, thank you!
Aalcorn,
It is obvious that there is no syntax error in the excerpt of code you posted.
It would not be possible to help you, unless you provide more, preferably all, query code.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.