You are not logged in.

Dear visitor, welcome to Palo Community Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

lawa

Master

  • "lawa" is male
  • "lawa" started this thread

Posts: 41

Date of registration: Jan 28th 2009

Location: Dresden

  • Send private message

1

Thursday, August 19th 2010, 7:32pm

Palo.Sort - by attributes

I have a list of accounts which needs to be shown in a different sort order, depending on the report.
I tried to solve the problem with a "sorted by" attribute, where I input just an ongoing number to desbribe the sort order.

However, when I try to input a subset with the Excel function and use sort by attribute - it will be sorted by the way I created the elements.

I've attached a little picture of a remodelled sample - just to explain what I want and which formula I use.

Actually I have no idea what I am doing wrong....

Help please!



got it- can be closed. (It only works with Alias and only with text sorting, so numbers must be 1001, 1002, a.s.o....)

This post has been edited 1 times, last edit by "lawa" (Aug 19th 2010, 9:31pm)


glvingne

Master

Posts: 36

Date of registration: Feb 11th 2010

  • Send private message

2

Wednesday, March 16th 2011, 4:42pm

RE: Palo.Sort - by attributes

Quoted

Originally posted by lawa

got it- can be closed. (It only works with Alias and only with text sorting, so numbers must be 1001, 1002, a.s.o....)



Sorry but i didn't get the solution: i have the same problem with a palo.sort, based on an attribute.

What exactly is an Alias and how is it different from an attribute?
_____________
Windows 7
Office 2010
IE9
Firefox 5.0

lawa

Master

  • "lawa" is male
  • "lawa" started this thread

Posts: 41

Date of registration: Jan 28th 2009

Location: Dresden

  • Send private message

3

Wednesday, March 16th 2011, 7:56pm

Solution

[list]
1. Within your dimension attributes create a new attribute called ALIAS.
2. Make the ALIAS attribute consolidated and include the attributes you want to sort by. (these attributes must be text!)
3. When you insert a subset with the subset editor you can select 2 attributes in the basic setting or try it with variable. (If you see no selection when clicking on "1.Alias"-> check step 2 again)
4. In the subset editor choose "sort by" and select Alias.
[/list]

Now it should work.
If you insert a view in Excel showing only the attributes you can easily test it (like the previously posted picture). The sort order will immediately change when you give other values into the attribute cell.


Good Luck!
Lars

tish1

Sage

Posts: 762

Date of registration: Jul 13th 2009

Location: Vienna / Austria

Occupation: Senior Consultant @ Vector SW DV GmbH

  • Send private message

4

Wednesday, March 16th 2011, 8:20pm

Hi,

do you display the elements as hierarchy or as a list? I'd try the later.
If that works, please file a bug report.

Regards.

lawa

Master

  • "lawa" is male
  • "lawa" started this thread

Posts: 41

Date of registration: Jan 28th 2009

Location: Dresden

  • Send private message

5

Wednesday, March 16th 2011, 9:00pm

I am not quite sure why to report a bug for something that works...
;-)


...but I use the list - because sorting a hierachy makes no real sense to me.


Greets!
Lars

tish1

Sage

Posts: 762

Date of registration: Jul 13th 2009

Location: Vienna / Austria

Occupation: Senior Consultant @ Vector SW DV GmbH

  • Send private message

6

Wednesday, March 16th 2011, 10:44pm

Hi,

sorting a hierarchy can mean that sibilings should be sorted by their respective sort code...

Regards.

Rate this thread