Issue comparing 2 years revenue data

Stimulsoft Dashboards.WEB discussion
Post Reply
agodoo
Posts: 9
Joined: Tue May 22, 2018 10:56 pm

Issue comparing 2 years revenue data

Post by agodoo »

Hello,
I would need to compare the revenue of 2 years (2019 and 2018). I want to be able to do such a compare as global revenue and also divided for each sales agent.

In my sample data I have 2 sales agent:
Di Stefano Marco
Ferrario Giovanni
Mussi Giorgio

As you can see from data in sql file, I imagined to have a table with the sales for each month of the 2 years; in each sale record I have the value and the reference to the sales agent.

The main element I imagined to use to the compare the revenue is the Indicator "Fatturato 2019 vs. 2018".
In the indicator the field Sum(vendite_2019.importo) is correct but the Sum(vendite_2018.importo) is not correct. Is a lot bigger. It seems that it breaks after I added the 'relAgenti2018' relation under "vendite_2018'.

Selecting the name of the sales agent, I would need to filter all the data by the agent.

I didn't understand where I'm wrong and if I have to change my data structure.

Kind regards,
matteo
Attachments
dashboard_test_01.png
dashboard_test_01.png (173.43 KiB) Viewed 1442 times
dashboard_sample01.zip
(1.33 KiB) Downloaded 157 times
Dashboard_Vendite_test1.mrt
(23.9 KiB) Downloaded 162 times
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: Issue comparing 2 years revenue data

Post by Lech Kulikowski »

Hello,

Sorry for the delay with the response.

You can use only one data source "vendite", you can add anno columns as Series.

Thank you.
Attachments
Dashboard_Vendite_test1_modified.mrt
(25.58 KiB) Downloaded 142 times
Capture.PNG
Capture.PNG (79.52 KiB) Viewed 1400 times
Post Reply