This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi there!
I'm trying to create a table which has the headers Sales in 2022, Sales in 2023, then the growth rate between the two, broken out by customer.
My source data looks like this:
| Customer | Product Type | Sales 2022 | Sales 2023 |
| Anna | Milk | 300 | 400 |
| Jane | Milk | 100 | 100 |
| Mark | Milk | 100 | 200 |
| Anna | Bread | 300 | 400 |
| Jane | Bread | 100 | 0 |
| Mark | Bread | 200 | 100 |
My desired end result would be this:
Customer
| Total Sales, 2022 (sum of sales in 2022) | Total Sales, 2023 (sum of sales in 2023) | Percent Growth (sum of sales in 2023/sum of sales in 2022)-1 |
Anna | 600 | 800 | 33% |
| Jane | 200 | 100 | -50% |
| Mark | 300 | 300 | 0% |
I'm able to get the Total Sales, 2022 and Total Sales, 2023 columns no problem, but am having trouble with the Percent Growth column.
I tried several things, but I think the thing that was closest was this:
Solved! Go to Solution.
Is this looking good?
If yes simply add 2 measures for Sales 22 and 23
Then Use DIVIDE to have the growth
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Thank you so much! This worked. I have marked your solution as accepted!
I think I don't have a good understanding of how measures work 😄
Is this looking good?
If yes simply add 2 measures for Sales 22 and 23
Then Use DIVIDE to have the growth
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 26 | |
| 25 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 50 | |
| 47 | |
| 23 | |
| 18 | |
| 18 |