on 09-17-2014 1:00 PM
Hi,
My requirement is to show year, state wise sales revenue in a line chart along with total sales revenue for all the states against each year.
I can achieve this by creating a derived table in the universe level like
select state,year,sum(salesrevenue) from tableA
group by state,year
union 'all states',year, sum(salesrevenue) from tableA
group by Year
and dragging these objects to a line chart.
But the performance of my report is very bad and it is fetching lacs of record to the report level. So thought of using any approach to avoid union query at the universe level and tried to calculate the total at the report level.
And am able to achieve this in table format by using Nofilter and forall functions (i.e by using the function =NoFilter(Sum([Sales revenue]);All) ForAll([State])
)
But am facing issue with the legend if i show the data in chart format as attached in the screenshot.
Legend is displaying double times. Even though the function is aggregating the data for all the states the legend showing the measure name for each country along with the other state wise legend.
Thanks for your help
Hi Divya,
In your previous attachment you apply break on year,
if you apply section on year then you get each year sales revenue of one state as well as the target sale revenue.
Regards
Mustafa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Divya,
You want to show target revenue in your line chart right? see the below screenshot
ytd is sum of all revenue
if your requirement like that then create object in universe 'ytd' put in select block
in webi new object merge with state give name mrg_obj
create a new variable target =if [mrg_obj]='ytd' then sum([query1].[sale revenue]) else [query2].[sale revenue]
Regards
Mustafa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible to remove state object from Region colour ??
Or
Create separte variable for each lovs of state and then hide it from the report.
Let me know how it goes.
Regards,
Pranay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is your Business Objects version (With Service Pack and Patch)?
Kind regards,
Wafa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.