Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
i have a source like bellow and in a relationship with a calendar and i'm stucked in this:
i want to obtain 2 graphs like this:
1. top 15 salesmen by sales from maxyear (2019 in this case) with comparable periods from previous 2 years (not full years);sorted by sales 2019, not all three; and the graphs need to be with the bars inverted - up 2019 not like now where is 2019 is last
2. same top but with monthly data - last month data 2019 (max year), previous month and same month last year; sorted by top sales from last motnh data
Thanks a lot in advance!
Cosmin
Year | MonthNo | Salesman | Sales |
2019 | 1 | George | 7 |
2018 | 1 | George | 97 |
2018 | 2 | George | 19 |
2018 | 3 | George | 82 |
2018 | 4 | George | 82 |
2018 | 5 | George | 73 |
2018 | 6 | George | 30 |
2018 | 7 | George | 100 |
2018 | 8 | George | 89 |
2018 | 9 | George | 48 |
2018 | 10 | George | 86 |
2018 | 11 | George | 62 |
2018 | 12 | George | 41 |
2017 | 1 | George | 82 |
2017 | 2 | George | 87 |
2017 | 3 | George | 69 |
2017 | 4 | George | 11 |
2017 | 5 | George | 2 |
2017 | 6 | George | 12 |
2017 | 7 | George | 72 |
2017 | 8 | George | 54 |
2017 | 9 | George | 19 |
2017 | 10 | George | 95 |
2017 | 11 | George | 40 |
2017 | 12 | George | 17 |
2019 | 1 | Jason | 31 |
2018 | 1 | Jason | 12 |
2018 | 2 | Jason | 44 |
2018 | 3 | Jason | 42 |
2018 | 4 | Jason | 39 |
2018 | 5 | Jason | 95 |
2018 | 6 | Jason | 83 |
2018 | 7 | Jason | 77 |
2018 | 8 | Jason | 90 |
2018 | 9 | Jason | 77 |
2018 | 10 | Jason | 2 |
2018 | 11 | Jason | 84 |
2018 | 12 | Jason | 89 |
2017 | 1 | Jason | 37 |
2017 | 2 | Jason | 73 |
2017 | 3 | Jason | 37 |
2017 | 4 | Jason | 6 |
2017 | 5 | Jason | 34 |
2017 | 6 | Jason | 70 |
2017 | 7 | Jason | 87 |
2017 | 8 | Jason | 45 |
2017 | 9 | Jason | 76 |
2017 | 10 | Jason | 100 |
2017 | 11 | Jason | 3 |
2017 | 12 | Jason | 64 |
What?
Top 15 with comparable 2 previous but not full years but not all 3 but with 2019 first...? I didn't get all that. And your data only has 2 people in it so hard to do what you are asking with the data provided.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
78 | |
59 | |
36 | |
33 |
User | Count |
---|---|
94 | |
61 | |
56 | |
49 | |
41 |