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

Any ideas how to get this?

Trying to build a query where i need to count the values using two characteristics (Survey, Tag) and a keyfigure (Counter, which is always 1)

This is sample data in the Cube

Survey TAG Counter


--- -

1 F1 1

1 F2 1

1 K1 1

1 # 1

2 F1 1

2 # 1

2 F1 1

3 # 1

4 K4 1

4 F1 1

4 # 1

Let me explain the data. there can be multiple records for a Survey with different TAG values. TAG value can be sometimes 'not assigned #'. For every row, counter 1. Survey '3' does not have any tags except the 'not assigned'.

I need these measures in the query.

1. Total number of Surveys (answer 4)

2. Total number of Survey without any tags (answer 1, only Survey 3 has no tags)

anyway how this can be built in the query designer.

As always 10 points guaranteed for the solution.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 04, 2005 at 03:07 PM

    I go for the 10 points 😊

    In the BEX query designer there is one very special button that you may want to use... It is located between the 'condition' and 'query properties' button.

    When you click this button you'll get an Excel-like screen where you can calculate totals (or MAX). With a little experimenting you'll be able to do some magic with this function.

    Let me know if this is of any help.

    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.