Skip to Content
author's profile photo Former Member
Former Member

Design Studio - Populating Measure value in text component

Hi,

My requirement is to bind the measure value dynamically to text component.

I have DS1 binding to CrossTab1 and DS2 binding to crosstab2. From DS1, I pass a dimension (ABC) to DS2 using Setfilter. Then I show the measure values of DS2 in 2nd screen in a text component.

My requirement is to get the measure value for filtered Dimension ABC in text box. Now, When I bind the value in text box, how do I make the data selection so that only measure for ABC gets populated in text box.

Thanks,

HG

sap.jpg (59.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 23, 2017 at 03:06 PM

    When you are filtering DS_2 using setFilter, you can also update the text component with following script:

    TEXT_1.setText(DS_2.getData(<measure>, {}).formattedValue);
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.