on 03-24-2014 6:02 PM
hi There
in a webi report, i have couple of variables, what i need to do is to create a new dimension by these variables, so i can use it in a chart
for example:
i have current month, previous month, previous of previous month, all of them are variables, i need to create a new dimension, so i can use it in a crosstab to create a chart
thanks
Cleo
Hi,
Just try dragging the variables one below each other while creating the chart.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How are you deriving (variable definition) the current month, previous month, previous of previous month?
If you could provide us with sample data and expected result it will help to provide solution.
Create formula to get all these in one varialbe like.
=If(Month([Date])=Month(CurrentDate());"current month";If(MonthNumberOfYear([Date])=MonthNumberOfYear(CurrentDate())-1;"previous month";If(MonthNumberOfYear([Date])=MonthNumberOfYear(CurrentDate())-2;"previous of previous month")))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
because the client needs 6 months trend report, and in webi level, it is hard to use the report date prompted by the user to calculate the 5 previous months, so in universe level, i create 5 objects to get 5 previous month of report month prompted by the user, for example, if the user input the report month ="3/24/2014", the previous month will be 2/1/2014, and previous previous will be 1/1/2014, then 12/1/2013, 11/1/2013, 10/1/2013
under each month, i will create 6 variables for another metric, say % medium error=total tickets opened where priority = medium, the reason, i create these fields manually, because not all of the month will have tickets opened by all support group, i know i can create a 6 months object in universe level, but if i add drill down filters, if the support has no ticket, the 6 months trend will be changed to 2 or 3 months, the user wants report layout has no change no matter if it will have data or not, that is why i create different variables for the month, and different variables for other metrcis. i already finished this table part, but the issue is i cannot use this table data to create a chart, so i need to creat new variables to include all these 6 months variables and metrcis "% medium error" variables
thanks,
Hello Tao,
for Last 6 month trend report why you need to go for prompt in webi?
just create 2 dimensions in universe, one for current month and one for last 6th month.
use them in separate query and in report query filter put month<= current month and month >= Last 6th month for operannds select the object from other query feature..
and schedule the report as usual.. which will give last 6 months trend values..
Regards
Subbarao M
the report will allow the users input the report month they need, for example, if now it is March 2014, the user can input report month as Feb 20, 2014, so the 6 month trend will be Feb 20, 2014, 01/01/2014, 12/01/2013, 11/01/2013, 10/01/2013, 09/01/2013. The reason i need to create the previous 5 months dimension in the universe is not all the month will have the data the user look for, if that month has no data, the user still wants to see the month with ZERO information. the report layout should be always 6 months.
in our database, we dont have a column called reporting month which will archive the data every month like call center database, that is why i need to add extra objects to write down the reporting month. the issue i am facing now, i need to use this 6 months table information to create a line chart, that is why i am asking if it is doable to create a variable from multiple variables.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.