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

dimension selection/filtering of data in script

SAP BusinessObjects Design Studio

Release 1.6 SP1 Patch 2 (Version: 16.1.2)

Source: Relational database, thru UNX

If i create a data source with the below structure:

Product Flag A Flag B Flag C

A 1 0 0

B 0 1 0

C 1 0 0

D 0 1 0

E 0 1 0

F 0 1 0

G 1 0 0

H 1 0 0

I 0 0 1

J 0 0 1

can we create 3 measures in script as below:

# Flag A Products = count(case when flagA = 1 then Product else null end)

flagAProductList = A;C;G;H

checked below reference links below but still couldn't solve the problem



product data.PNG (3.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 21, 2016 at 03:23 AM

    Hi Srikanth,

    It is best to create such measures directly in the universe. Is there a reason why you are not doing that?



    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.