Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello to all comunity members,
Having the table below:
I want in a chart expression calculate BY hour the average BY month of Sales/Number of stores. Can any help me to formulate the right expression?
Best regards
Try avg(aggr(sum(Sales)/max([Number of Stores]),Month,Hour))
Create a straight table object and use Month as dimension and avg([Number of stores]) avg(Sales) as expressions
Even if I want to display values by hour not by month?
What I did is that I created a chart, I then choose Hour as a dimension and put the following expression:
Aggr(Avg(Sales/Number Of Stores),M)
But I had no displayed data
Please post the result table you expect.
I gave an example of how I want to calculated the average that I want to calculate. Maybe I didn't explain well what I wanted, sory for that
Try avg(aggr(sum(Sales)/max([Number of Stores]),Month,Hour))
Accurate answer as always, many thanks Gysbert.
Best regards,
Yasser.