Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, i need to know how to sort an x dimension of a graph in order to have the dates ordered.
The computed dimension is: =[Month] & '/' & [Year]
that in the graph is showed like the figure attached.
How can i do to get this field ordered by month and year?
Thanks
Marco
Hello, Marco
When you create MonthYear field use dual function, smth like below:
=dual([Month]&'/'&[Year],[Year]*100+[Month])
And sort as number Ascending.
Hope this helps.
Regards,
Andrei
post your sample app
Hello, Marco
When you create MonthYear field use dual function, smth like below:
=dual([Month]&'/'&[Year],[Year]*100+[Month])
And sort as number Ascending.
Hope this helps.
Regards,
Andrei
Hi Marco,
You can go to the sort tab. Uncheck all the checkboxes. Check the expression box and enter you expression into it. Please see screenshot:
Switch places for Month and Year in your calculated dimension.
With dual it works.
Thanks
Marco
You can also write the expression on the chart or use Max(Date) if you have date field.