SQL Statements in OBI
Enhancing Analytics Reports with SQL
2:00 – 3:00, April 13, 2022
Paul Ojennus
Outline
Limit to a day, etc.
Limit to a day, etc.
Limit to a day, etc.
Limit to a day, etc.
Limit to a day, etc.
Limit to a day, etc.
Arithmetic on dates
Arithmetic on dates
Arithmetic on dates
Arithmetic on dates
Arithmetic on dates
Arithmetic on Dates
Tops and bottoms
Tops and bottoms
Tops and bottoms
Tops and bottoms
Tops and bottoms
Tops and bottoms
Challenge
Challenge
Challenge
Challenge
CASE
WHEN RANK("Usage Data Details - Release 5"."TR_J1 - Total Item Requests") > (SUM("Usage Data Details - Release 5"."Title Identifier Count")*0.75)
THEN 'Fourth Quartile'
WHEN RANK("Usage Data Details - Release 5"."TR_J1 - Total Item Requests") > (SUM("Usage Data Details - Release 5"."Title Identifier Count")*0.50)
THEN 'Third Quartile'
WHEN RANK("Usage Data Details - Release 5"."TR_J1 - Total Item Requests") > (SUM("Usage Data Details - Release 5"."Title Identifier Count")*0.25)
THEN 'Second Quartile'
ELSE 'First Quartile'
END
Challenge
Resources
Thank You!