SAP Knowledge Base Article - Public

3759370 - When entering an ID in the variable prompt, it does not associate the right text in SAP Analytics Cloud (SAC)

Symptom

  • When opening a story that prompts for variables on a live BW query, entering the ID for a variable value returns a different description than the expected.
  • The issue is observed only in stories that use a single query as their basis; stories that use multiple queries (with linked variables) do not show the issue.

Environment

  • SAP Analytics Cloud
  • Story Design & Visualizations
  • Live data connection to SAP BW

Reproducing the Issue

  1. Open the affected story based on a live BW query.
  2. When prompted to enter the variable value for instance "A".
  3. Observe that after hitting enter, the ID "A" returns a different description and not the one which is associated with it.
  4. Repeat the same variable entry in another story that uses linked variables and the same query. 
  5. Notice that in that story, this works as expected. 

Cause

  • This is currently a limitation in the product using stories with single query.

  • In stories with a single query, the prompt input “A” is matched by substring to the first member whose ID contains “A”, rather than prioritizing the exact match. In stories with multiple queries. the linked-variable intersection narrows the result set and avoids this mismatch.

Resolution

The following workarounds can help to mitigate the unexpected behavior:

  • Save and use a custom variable variant that contains the correct member selection, so the intended value is applied when opening the story.
  • Apply the variable and its value as a URL parameter when opening the story to force the exact member selection.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

sac, analytics cloud, variable prompt, linked variables, bw live, live bw, single query, wrong member, incorrect description, exact match, substring match, variable intersection, story prompt, variable variant, url parameter , KBA , LOD-ANA-DES , Story Design & Visualizations , Problem

Product

SAP Analytics Cloud all versions