sap-tutorials / Tutorials

Tutorials on sap.com
https://developers.sap.com/tutorial-navigator.html
Creative Commons Attribution 4.0 International
708 stars 772 forks source link

Set Up Single Measure Filters in an Application #18446

Open KlausWischmann opened 2 years ago

KlausWischmann commented 2 years ago

Tutorials: https://developers.sap.com/tutorials/sac-analytics-designer-create-3-filters.html

Hi, just doing openSAP course and checking this tutorial.

Please note that there is a wrong coding line 12 of Step 5 „Add Script to the OnInitialization Event“:

Line 12

if (selectedKey === "" && i === 0) { selectedKey === measures[i].id; Dropdown_Measures.setSelectedKey(selectedKey);

has to be

if (selectedKey === "" && i === 0) { selectedKey = measures[i].id; Dropdown_Measures.setSelectedKey(selectedKey);

Cheers, Klaus

jmmargo commented 1 month ago

@Fabien33 please review this feedback.