on 04-20-2017 10:40 AM
Hi,
I am using SAP BO 4.1 with relational universe on SQL Server.
How can i sort Month Year in in chart x axis, i have an object which has Mon YYYY like Apr 2016, Jan 2016.
Is there any way i can get the months sorted as Jan 2016,Feb 2016,Mar 2016,Apr 2016 etc by using variables in Webi.
Thanks,
Harsha
Hi Harsha,
Check out this blog, you can use a similar logic, by creating a variable by concatenating Year and Month number, by creating a variable as below which would return (201701, 201702, 201703... for Jan, Feb, Mar of 2017), use that in the chart, sort on it and hide it, as shown in the image.
v_YearMonth =FormatNumber(Year([Date]);"0000")+FormatNumber(MonthNumberOfYear([Date]);"00")
Thanks,
Mahboob Mohammed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you tried doing a Custom sort on Month-year object?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.