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

distinct row

Greetings,

I have a dimension called Notification Type with values: A, B, C etc.

I created the following variables to count my A, B, C etc.

vNotification A = Count ([ID]) Where ([Notification Type] = "A"))
vNotification B = Count ([ID]) Where ([Notification Type] = "B"))

ID Name Room Date Notification A Notification B 000100 John A12 1/12/2015 1 0 000100 John A12 1/12/2015 0 1

When I dragged the variables, the count is correct, but displays as follows:

Following is how I would like the report to display.

ID Name Room Date Notification A Notification B 000100 John A12 1/12/2015 1 1


Any suggestions?

TIA,

Regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2015 at 06:38 PM

    Hi,

    Try defining uour Count variables as measures instead of dimensionl.

    Regards,

    Rogerio

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2015 at 08:09 PM

    Try following formula:

    vNotification A = Count ([ID] Where ([Notification Type] = "A"))

    vNotification B = Count ([ID] Where ([Notification Type] = "B"))

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 19, 2015 at 08:22 PM

    try with right click on the table->format table->checked the checkbox "avoid duplicate row aggregation"

    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.