Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sorting graph - sort order

Hi,

I have a problem by sorting my graphs.

I have this graph as is shows now - It shows data from 2014-1-10 to 2014-3-21.

However i have data untill now so i want the graph to show example 2014-07-10 to 2014-08-12

So it only shows the newest dates. How can i do so? I have tried to sort my data by date and make a RowNo()

but when i try to sort it reverse the graph so it shows from 2014-08-12 to 2014-07-10 - So its the wrong way.

Can anyone help?

1 Solution

Accepted Solutions
Not applicable
Author

5 Replies
Anonymous
Not applicable
Author

Create a variable for the dates and use inside the set analysis

Not applicable
Author

How would you do that if the expression was like this? =sum({<Flag={1}>}Price)

Anonymous
Not applicable
Author

Try this

=sum({<Date>={$(vDate)},Flag={1}>}>}Price)

Not applicable
Author

but it should not be a date but greather than.

Not applicable
Author