fabioannovazzi / mparanza_bugs

For error reports
Apache License 2.0
0 stars 0 forks source link

Like for like sales calculation wrong and incomplete #89

Closed fabioannovazzi closed 2 years ago

fabioannovazzi commented 2 years ago

The app does not filter total sales for like for like.

To show like to like sales by customer it divides total sales (not like for like sales) by the number of like for like customers

image

see calculation

image

Should also so total like for like sales

fabioannovazzi commented 2 years ago

In Multitier Barr Chart, 71 like for like customers over 2 years

image

And 94 and 152 total

image

Average sales by customer correct

image

Average sales like for like are wrong because average clustomr sales x number of like for like => total sales

image

See calculation below

image

fabioannovazzi commented 2 years ago

works

image

image

image

check here

image

fabioannovazzi commented 2 years ago

Also correct with multitier

total like for like sales

image

per client like for like

image

check

image