Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I have the file attached here and I'd like to calculate the % by year to each column.
Could any of you help me creating this expression?
Try this expression:
Sum(Price)/Sum(TOTAL <Year> Price)
Thank you!
but now I have a new situtation:
I want to sum only Pants and Shoes and I see that the % by year now is not corret:
Sum(If(Product<>'Shoes',(Price))))
/
((If(Product<>'Shoes',Sum(Total<Year>(Price)))))
Try this and see if it helps:
Sum({<Product -= {'Shoes'}>}Price) / Sum(TOTAL {<Product -= {'Shoes'}>}Price) //Note the negative sign in red
Yes! thanks a lot! you saved my day
Great
I am glad I was able to help
Best,
Sunny