Analytics Designer in SAC(SAP Analytics Cloud)

 




Analytic Application

The analytics designer for SAP Analytics Cloud allows users to create extended reports by using scripting. This development environment, however, exclusively targets advanced users who have programming or scripting expertise. Applications are developed by using a programming language that's very similar to JavaScript.

Differences between Stories and Applications

The story primarily focuses on reporting and interactivity. It provides a wide number of tools to create visualizations and create interactive controls for viewers. It's very flexible and can be used for a lot of complex use cases. The story environment guides the creator through most of the process. By using guided dialogs and automatic functionalities, story creators can easily add input controls or filters to a story, which can be used interactively by viewers.

The application, however, offers a significantly higher degree of freedom but follows a less guided approach. Analytics designer is based on a development environment in which a developer can use various tools and functions to create a complex dashboard.


Create An Analytical application






Views, Insert, Tools, Data,...

These buttons can be used to interact with the development environment. They allow you to hide and show various areas, insert new elements, use some story features, or change the theme of the application.


Canvas

This is where the application itself is designed. Scripts can be inserted for almost every element on the canvas of an application. The script editor for each object can be opened by clicking on the fx button


Click on the insert button and add a new chart, the same as we did for building stories.



adding measures and dimensions. 


Also, make sure to follow proper naming conventions.


Add few more charts to the Application.



click on the Run Analytical application button 



Result will be displayed in a new window/tab.

Now lets see how we can add a button to this application.





we will use this button to download the dashboard as Pdf.

we have created the button. but we dint mention the function to download.




right-click on the button to write the script for downloading on click.


we have to write the function to download.

before that, we have to create a script for exporting pdf. click on + button near Export Pdf.







now save and run the application again.



we have successfully downloaded the report.



Now lets see how we can add a popup window on click.



Click on the + button near Popups.


customize the popup as per our need.. we can also add charts to this popup.



to write the script for popup, select canvas and choose the chart on which we are planning to write the script.






now save and run the Application.


when clicked on the Profit chart, we get a popup Profit per city.













Comments

Post a Comment