on 03-30-2015 7:12 AM
Hi everyone
I need help since I could not deal with this problem by myself. I have tried different formulas but did not receive any result.
I have 3 dimensions.
Store EH02, EH 03, EH 04 etc.
Cost Center SRV 201, SRV 301, SRV 401 etc.
Departmanet IB01, IB02, IB03 etc.
I now how to define names or sum values in one dimension. For example Sum(Value, where ([store]="EH02",[store]="EH03" )
But now I need to sum values using all three dimensions. Since different combinations have different meanings.
For example
Store EH02 and Cost Center SRV 201 and Department IB01 = customers
Store EH 02 and Cost Center SRV 301 and Department IB02 = dealers
Store EH 03 and Cost Center SRV 201 and Department IB01 = foreign customers etc.
Please help me to define variable for each of these combinations.
My table looks like
Monhes | Store | Cost center | Department | Amount |
---|---|---|---|---|
January | EH02 | SRV 201 | IB01 | 500 |
January | EH02 | SRV 301 | IB01 | 100 |
January | EH03 | SRV 201 | IB02 | 500 |
January | EH03 | SRV 301 | IB03 | 450 |
January | EH02 | SRV 301 | IB02 | 300 |
February | EH01 | SRV 201 | IB02 | 200 |
February | EH02 | SRV 201 | IB02 | 400 |
February | EH05 | SRV 301 | IB03 | 200 |
Hi Ofeliya,
Please Used this code
=If (([Store] inlist( "EH03","EH04")) And ([Cost Center] inlist( "SRV-201","DST-201")) Then "Standart customers"
Also made variable as details of [Store] or [Cost Center] if this not work then use [Store] and [Cost Center] in column and hide them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Dinesh, Raju and Christoffer
Thank you for your response. Problem is solved with semicolon as you stated. In Universe design I used to use comma (,), that is why also in webi I tried the same action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ofeliya,
Create a variable like
=If([Store]="EH02" And [Cost center]="SRV 201" And [Department]="IB01") Then "Customers"
Else
If([Store]="EH02" And [Cost center]="SRV 301" And [Department]="IB02") Then "Dealers"
Else
If([Store]="EH03" And [Cost center]="SRV 201" And [Department]="IB01") Then "Foreign Customers"
use this variable in table to get the sum for each type of customer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sateesh
I really appreciate your response. I have tried this way. I have begun from customers and create variable like this
=If (([Store] = "EH03") And ([Cost Center] = "SRV-201")) Then "Standart customers" ElseIf
(([Store] = "EH03") And ([Cost Center] = "DST-201")) Then "Standart customers" ElseIf
(([Store] = "EH04") And ([Cost Center] = "SRV-201")) Then "Standart customers" ElseIf
(([Store] = "EH04") And ([Cost Center] = "DST-201")) Then "Standart customers"
Unfortunately it returns #multivalue
I also tried to filter each column, but it didnt work. Filter was applied for all table.
Hi Sofiyeva,
As per your requirement ,
mohens | Store | Cost Center | Department | Amount |
---|---|---|---|---|
Feb | EHO1 | SRV201 | IB02 | 200 |
Feb | EHO2 | SRV201 | IB02 | 400 |
Feb | EHO5 | SRV301 | IB03 | 200 |
Jan | EHO2 | SRV201 | IB01 | 500 |
Jan | EHO2 | SRV301 | IB01 | 100 |
Jan | EHO2 | SRV301 | IB02 | 300 |
Jan | EHO3 | SRV201 | IB02 | 500 |
Jan | EHO3 | SRV301 | IB03 | 450 |
mohens | Store | Cost Center | Department | Amount | Var_c_s_d_1 |
---|---|---|---|---|---|
Feb | EHO1 | SRV201 | IB02 | 200 | Standard Customer |
Feb | EHO2 | SRV201 | IB02 | 400 | Standard Customer |
Feb | EHO5 | SRV301 | IB03 | 200 | Standard Customer |
Jan | EHO2 | SRV201 | IB01 | 500 | Customer |
Jan | EHO2 | SRV301 | IB01 | 100 | Standard Customer |
Jan | EHO2 | SRV301 | IB02 | 300 | Delar |
Jan | EHO3 | SRV201 | IB02 | 500 | Foriegn Customer |
Jan | EHO3 | SRV301 | IB03 | 450 | C_S |
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.