Blogs

Did you know about SQL functions in PS Query expressions?

By Dede Young posted 05-21-2019 05:44 AM

  

Did you know that PS Query expressions can be used to perform many of the SQL functions you may need?  Multiple values of a field (ex. Student groups) can be displayed within one field using listagg.  Without needing subqueries, multiple field values can be displayed on one row, using Nth Value.  Aggregate function, such as SUM, SUMIFS, AVERAGE, AVERAGEIFS, and simple mathematical functions (addition, subtraction, multiplication, division) can all be performed within PS Query expressions.  Check out these Alliance presentations (and many more in the HEUG file library) for more:

Express Yourself! Using Conditional Expressions in SQL or PSQuery

Aggregate reporting in multiple dimensions using PS Query

Making PS Query aggregate and flatten your data like a champ

 

2 comments
63 views

Permalink

Comments

06-29-2021 04:48 PM

Any chance these links can be updated?  It seems like the blogposts were removed.  Thanks!

05-22-2019 10:19 AM

YAY for expressions!

Expressions rock! They make visualization of data in flat or excel files much easier.