Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change order of Grouping based on a prompt

Status
Not open for further replies.

PreetiGanamani

Programmer
Jan 2, 2006
22
US
Hello all,
Please do help me out with this.

I have to change the order of grouping based on a prompt.

for example i have 4 columns A, B,C,D.

Scenario 1
No grouping

Scenario 2
Group by A,C and D

Scenario 3
Group by B,C and D

Scenario 4
Group by A,B,C and D

Scenario 5
Group by B,A,C and D

Please do help me out with this. Thanks in Advance
Preeti




 
Add a case statement to several data items and add this data item to the dimensions you want to sort.

CASE ?Prompt?
WHEN "ABC"
THEN "a"
WHEN "XYZ"
THEN "b"
ELSE
"c"
END
 
Thanks for the prompt reply. i am working on it right now.
Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top