Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
At the moment I have two bar charts to show the sales distribution on gender and age group.
First bar chart:
Second bar chart:
I want to combine these two bar charts into only one bar chart with a group button where I can chose to look at gender or age group. Is this possible?
I've already tried to put all genders in one group and all age groups into one group, but when I run the bar chart it will only show one gender together with one age group at the time.
Thanks ahead!
Hi,
You can use expression =Sum(Sales) and create a cyclic drill of Gender and Age Group. You do not need to write seperate expression.
Regards
VIjay
Hi,
sorry, I missed an important thing in my calculation. All calculations should be an %-age of the total amount per month.
Like this:
/Fredrik
You can use Expression Sum(Sales)/Sum(Total Sales)
It almost worked. But the TOTAL takes the totals sales for all month. I only want the TOTAL sales per month
If Month is not selected it will give you total value for all months but if you select a month it will give you total value of selected month only.
Okey, but if I want it on each month without selecting a month .. the result should be presented on a dashboard where no selection can be made
If you want it for one month on dashboard then you need to include month in expression.
Eg: =sum( {<Month= {"$(=Max(Month))"} >} Sales)/sum( {<Month= {"$(=Max(Month))"} >} Total Sales)
Sorry if I'm not making myself clear enough.
What I want is the sales distribution %-age per gender and age group (as a cycle/drill) in the same stacked bar chart divided on month for all payment months ever.
Found the answer!
sum(sales) / sum(TOTAL <paymentYM> sales)