Skip to Content

Grouping Dimension values

Dear All,

I've getting this kind of challenge

I have a dimension Product with their values

Product_1 = 1000

Product_2 = 500

Product_3 = 2000

Product_4 = 5000

I want to design a report with this combination (manual)

Product_TypeA = Product_1 + Product_3 = 1000+2000 = 3000

Product_TypeB = Product_1 + Product_4 = 1000+5000 = 6000

Product_typeC = Product_2 = 500

Reports output should be:

Product_TypeA = 3000

Product_TypeB = 6000

Product TypeC = 500

is there anyway i can achieve this?


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 24, 2016 at 09:49 AM

    try with these steps.

    First Create variable Product Type=If([Product] InList("Product_1";"Product_3")) Then "Product_TypeA" ElseIf([Product] InList("Product_1";"Product_4")) Then "Product_TypeB" Else "Product_TypeC"

    For value create variable=If([Product Type]="Product_TypeB") Then [Value]+ [Value] Where ([Product] InList ("Product_1")) In Report Else [Value]

    Untitled.png (19.4 kB)
    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.