Hi Muganda Simiyu,
In Asset framework you can create elements and add attributes to the element which is either a PI point, static values , calculations and table lookup. Element also has Analysis tab which can be configured for additional calculations and output can be mapped to any PI point or static attribute. Once elements are defined in AF and mapped to right attributes, you can use PI Vision to create a Dashboard based on AF. Event frames will provide time range that can have name,description and attributes associated with them.
Thanks for posting on PI Square. I'm a little confused about the request. Is there a reason why you'd like to show compressed data on Vision? Vision is designed for real-time monitoring and trending of historical data (when I say trending, I don't mean trending every compressed data value).
I understand that you wish to create a report with in Vision. In my experience, most production reporting don't show compressed data values either hence why I'm asking for a use case.
Perhaps there is a better way to for you to show the report you're after.