Migrating function from Obiee to Quicksight

0

Hi Team,

I am planning to migrate from obiee to quicksight, wanted to know how can i handle below functions in quicksight while creating dataset.

AGO TODATE PERIODROLLING CAST VALUEOF EVALUATE INDEXCOL

Let me know if you need additional details from my end.

Anshul
asked 10 months ago193 views
1 Answer
0
Accepted Answer

I am not really familiar with Obiee but you can see all the Quicksight functions here: https://docs.aws.amazon.com/quicksight/latest/user/functions-by-category.html There might not be exact replacements and the implementation and syntax may vary so looking at our documentation and exploring available functions is the way to go.

That being said, looking quickly at the Obiee doc and our Quicksight doc... here is what I would try:

  1. AGO: try PRE_AGGREGATE function combined with date filtering. For example:
PRE_AGGREGATE(SUM({purchases}), [Date], [Date]-N, [Date]-M)
  1. TODATE: PARSE_DATE('yyyy-MM-dd', '2023-07-11')
  2. PERIODROLLING: periodOverPeriodDifference - https://docs.aws.amazon.com/quicksight/latest/user/periodOverPeriodDifference-function.html
  3. CAST: https://docs.aws.amazon.com/quicksight/latest/user/changing-a-field-data-type.html
  4. VALUEOF: not sure there is an equivalent for this but Quicksight supports parameters to pass values dynamically to the analysis (can be assigned to dataset or analysis level)
  5. EVALUATE: Can you use common functions like SUM, AVG, MAX, MIN, and IFNULL, ....? Some details in this blog post might prove useful: https://aws.amazon.com/blogs/big-data/calculated-fields-level-aware-aggregations-and-evaluation-order-in-amazon-quicksight/
  6. INDEXCOL: In QuickSight, you can reference columns by their names directly in calculations, without the need for an explicit INDEXCOL function

I also suggest to ask for guidance in our Quicksight community website: https://community.amazonquicksight.com/ if needed.

If this response helps, please Accept this response as answer.

profile pictureAWS
EXPERT
answered 10 months ago
  • Thank you for your quick repsonse, didn't find below function in quicksight CASTASSTRING: Converts a value to a string. CASTASNUMBER: Converts a value to a number. CASTASDATE: Converts a value to a date. Can you please help me on this.

  • oh yes, that was a mistake, I edited with the correct link instead... thanks! CAST or CONVERT are valid options

  • Thanks @Jonathan_D for your quick response. Can you please help me with below function. EVALUATE_PREDICATE, IFNULL, BOTTOMN, TOPN, PERCENTILE, Mavg, Msum, Ntile, Rcount, Rmax, Rmin, Rsum ,Evaluate, EVALUATE_AGGR, Truncate

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions