====== How to dynamically reset the default value of a dropdown list in N4V for Webi ====== //Anonymised summary of support ticket #392224 (2023-03-02)// ===== Symptom ===== %%A dropdown list in Web Intelligence, populated by a filtered query based on a user-specific variable, retains the previously selected value in a linked variable. Attempts to reset the default value using another variable (e.g., retrieving the first value from the query result) fail because the control does not accept variable objects, only static text values.%% ===== Environment ===== SAP BusinessObjects Web Intelligence with N4V FOR WEBI extension. Dropdown list controlled by N4V components, linked to a Webi variable. Query filtered dynamically based on user context. ===== Resolution ===== - %%Configure the linked Webi variable (e.g., VG_Filtre_Général_UNITE) to store the initial default value using a formula like `=First([Libellé unité])` in the report design phase.%% - Ensure the report is saved with this formula intact. The N4V component will read the calculated value (not the formula text) and set the dropdown selection accordingly on report refresh. - Avoid saving the report after manual selection in the dropdown, as this would replace the formula with a static value, preventing dynamic resets. ===== Other resolution ===== Starting from N4V FOR WEBI release 2023.0.1, the engine now retrieves the calculated value of a variable (not just the textual formula) during initialization, enabling dynamic default value resets for dropdown lists.