Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to get the last value for a measure based on datetimestamp

$
0
0

I have an analytic view which has data from a foundation fact table and is joined with other attribute views. Now this fact table has multiple records for a given combination of dimensions (each different by datetimestamp). In the calculation view, how do I get only the last value of a given measure (based on datetimestamp) before I do the aggregation along dimensions/hierarchy? I believe I will have to define this computation in the projection before doing a union?


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>