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: 
2,666
The Initial View editor in Lumira Designer is one of the mostly used features. However, haven't you wished you could create calculated measures there? Or add a measure filter, define a BEx exception? Apply some complex filter?

There are so many cool features available at runtime - mainly trough Context Menu that can't be configured initially for an app. Instead you need complex startup script, bookmarks tricks, or you ask your app's users to configure the datasource on their own again and again.

Fortunately Lumira Designer 2.3 comes with a secret feature that solves all those problems.

The Control Key Trick


You know how you open the Initial View editor: in the Outline view right click the datasource that you want to configure. Now do the same, but hold the Ctrl key while clicking on "Edit Initial View..."



 

 

You'll see a dialog that essentially contains a Lumira Designer app - we also call it "mini app":



The app contains a Navigation Panel on the left side and a Crosstab on the right. Thus you can add and remove dimensions as usual by drag-and-drop.

The most important part however is the Context Menu: you can right-on any element in Navigation Panel and Crosstab to see all the analytic operations. E.g. you could click on a column header and exclude a measure:



 

Calculations


Since Lumira 2.3 SP 2 you can also select two columns and apply a quick calculation: Click in the header of the first column, hold Ctrl and click on the header of the second column. The right-click and chose "Add Calculation" and an operation.

 



 

For more advanced calculations you can use "Add Dynamic Calculation" and choosing one of the built-in dynamic calculations. O you use the Custom Calculation dialog:



Note that the example above doesn't make any sense, as nobody would add two dates. Also note that the available calculations, functions and operators depend on the datasource type.

 

Formatting and Filtering


You can also add, enable, or edit BEx Exceptions via the Context Menu entry "Conditional Formatting"

 



 

Of course you can apply any kind of filters with single members, ranges excluding and including elements. And you can even filter my measure:



 

Much More


If you click on a Dimension, you can enable and disable hierarchies and later expand and collapse as you like. You can show and hide Display Attributes and Presentations (Key/Text) and configure sorting. You can configure if and how totals are calculated and show. And there is also a Rank feature. For sure there are all the navigation feature like drill-down (set a filter and add a dimension). If there are Drillpath configured, you can also enable them and drill on them.

All changes are stored on the datasource and automatically apply to all charts and tables that are bound to it.

Not all features of the "classic" Initial View Editor are available in the "second" version. But you can freely switch between the two - it just depends on the magic Ctrl key.

 

Also for Charts


As mentioned changes done by the new Initial View Editor also affect charts. But it is sometimes nicer to do the changes directly on the chart itself.

For sure you know the Chart Configuration:



 

This mini app now also contains a Context Menu. If the chart option "Allow Data Source Modification" is set to true, you can configure many datasource feature directly here:



 

You might not find all Context Menu actions here, because charts often don't have an area that represents e.g. a dimension. But you still might give it a try...

 
7 Comments
former_member189544
Contributor
Thanks Reiner, very interesting stuff! I will definitaly try this out on my next dashboard. Are there any other "hidden" features in Lumira Designer?
umg
Explorer
0 Kudos

Hi Reiner,

Awesome content. I tired the mini APP utilizing Rank, and after that if i tried for again edit intial view, It stuck and shows Dispatching. Cannot utilize the same data source again untill I reset it.

Coudl you please let me knwo why it’s happening?

 

 

 

0 Kudos
No idea - such "hanging" often means that there are JavaScript errors somewhere - but for many other the mini app works without errors...
0 Kudos
Hi Reiner,

 

excellent blog, thank you, does all these options work if the data source is a universe, since i am not able to see add dynamic calculation option. Does it work only with HANA and BW as datasource?

 

Thank you
Indeed the available calculations depend on the datasource type. I'm not sure which are supported for Universes. The biggest set it available for Lumira/Discovery acquired datasources.
0 Kudos
Dear Reiner,

I checked with HANA as a datasource, and it provides the accesses, however, when i try universe as datasource in lumira designer, dynamic calculations doesnt come up. Its a requirement since currently with universe as datasource, the weighted average fields in the universe such as Cost/MT , does not calculate and provide the cost/MT on the fly based on the dimensions , instead it just sums up all the cost/mt. its a huge drawback. Do you know of any feature wherein we can consider these cost/mt kind of fields to show up correctly in lumira designer.

Thank you

Regards

Smijoe
jessica_jiang
Discoverer
0 Kudos
Dear Reiner,

where is the “Add Calculation” in lumira designer 2.4 SP0? Is it same as 2.3?

Best regards,

Jessica