Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Hi,

We have lot of examples in SAPUI5 explored but they talk about static data in generic tile in XML views. I decided to write this blog to provide code snippet for loading dynamic data in comparison micro chart in a generic tile for XML Views.

You can bind the data dynamically by using the data property of the comparison micro chart. The code will look like this



The json model should look like this:



The limitation currently for using generic tile with comparison microchart is that you can only compare 3 values in the chart.Remeber to do aggregation on your query that loads the model else your generic tile will be empty
3 Comments