Skip to Content
avatar image
Former Member

Design Studio - Populating Measure value in text component


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.



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

  • Can you post screenshots of your first and second screens? Are you trying to show multiple measures in a single text component?

  • Former Member

    No Mustafa,

    Its just one measure for each text component.

    From 1st screen I am passing the ID value to 2nd Data source of 2nd screen.

  • Former Member

    Screen 1 , I am passing ID to screen 2 and the measure values to those measures fr that particluar ID needs to be mapped with text box.

    1.jpg (35.7 kB)
    1a.jpg (36.0 kB)
  • Get RSS Feed

1 Answer

  • 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 comment
    10|10000 characters needed characters exceeded