Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello,
I am wondering if there's a way to make a simple line chart with the week as the X-Axis and the Y-Axis the Volume Sales and Volume Sales YA by Product. So you can see Private Label, Product S and Product A's Volume Sales currently vs YA represented in a graph. Is there a way to do that with my data formatted the way it is? Below is a sample of my data:
Week | Product | Geography | Volume Sales | Volume Sales Year Ago |
1/5/2025 | Private Label | Total US | 1030505.799 | 1385873.44 |
1/5/2025 | Product S | Total US | 786422.8968 | 860653.3125 |
1/5/2025 | Product A | Total US | 811967.951 | 923289.321 |
1/12/2025 | Private Label | Total US | 1054297.397 | 1319795.141 |
1/12/2025 | Product S | Total US | 892892.8155 | 940383.4283 |
1/12/2025 | Product A | Total US | 849777.1346 | 928970.5459 |
1/19/2025 | Private Label | Total US | 1044057.351 | 1330293.105 |
1/19/2025 | Product S | Total US | 850589.306 | 970618.1928 |
1/19/2025 | Product A | Total US | 881846.0282 | 919173.2595 |
1/26/2025 | Private Label | Total US | 1000397.733 | 1312970.696 |
1/26/2025 | Product S | Total US | 793841.3918 | 812572.3142 |
1/26/2025 | Product A | Total US | 792477.1022 | 856865.8128 |
2/2/2025 | Private Label | Total US | 998050.3842 | 1345675.773 |
2/2/2025 | Product S | Total US | 703026.8167 | 857312.1127 |
2/2/2025 | Product A | Total US | 830741.2417 | 823663.1697 |
2/9/2025 | Private Label | Total US | 1012625.55 | 1341140.981 |
2/9/2025 | Product S | Total US | 736385.0653 | 825559.4162 |
2/9/2025 | Product A | Total US | 892068.1942 | 859961.017 |
2/16/2025 | Private Label | Total US | 967057.5801 | 1276585.822 |
2/16/2025 | Product S | Total US | 689564.1237 | 731558.6706 |
2/16/2025 | Product A | Total US | 771205.3933 | 804470.107 |
2/23/2025 | Private Label | Total US | 1027996.716 | 1319725.24 |
2/23/2025 | Product S | Total US | 751156.6292 | 885083.2556 |
2/23/2025 | Product A | Total US | 745708.4607 | 795517.6432 |
3/2/2025 | Private Label | Total US | 989275.8436 | 1294280.37 |
3/2/2025 | Product S | Total US | 882588.3508 | 818221.0232 |
3/2/2025 | Product A | Total US | 762653.9129 | 913036.4634 |
3/9/2025 | Private Label | Total US | 1029216.239 | 1311647.766 |
3/9/2025 | Product S | Total US | 798849.6613 | 789010.6178 |
3/9/2025 | Product A | Total US | 761505.3784 | 867262.8931 |
3/16/2025 | Private Label | Total US | 1017941.635 | 1289207.023 |
3/16/2025 | Product S | Total US | 681379.6733 | 730180.7158 |
3/16/2025 | Product A | Total US | 798008.6329 | 863919.2656 |
3/23/2025 | Private Label | Total US | 1022142.379 | 1263122.308 |
3/23/2025 | Product S | Total US | 663213.0574 | 742548.0561 |
3/23/2025 | Product A | Total US | 734417.024 | 903798.0891 |
3/30/2025 | Private Label | Total US | 1013143.344 | 1202299.588 |
3/30/2025 | Product S | Total US | 629124.966 | 798453.1949 |
3/30/2025 | Product A | Total US | 816769.7648 | 868310.451 |
4/6/2025 | Private Label | Total US | 1040173.586 | 1273351.727 |
4/6/2025 | Product S | Total US | 763876.6098 | 837843.4425 |
4/6/2025 | Product A | Total US | 770931.3658 | 817193.7652 |
4/13/2025 | Private Label | Total US | 1020585.086 | 1233662.724 |
4/13/2025 | Product S | Total US | 647557.7009 | 901393.1992 |
4/13/2025 | Product A | Total US | 759620.9725 | 875208.8696 |
4/20/2025 | Private Label | Total US | 1246786.346 | |
4/20/2025 | Product S | Total US | 737230.2581 | |
4/20/2025 | Product A | Total US | 821931.8933 | |
4/27/2025 | Private Label | Total US | 1195000.596 | |
4/27/2025 | Product S | Total US | 702729.4848 | |
4/27/2025 | Product A | Total US | 882038.8914 | |
5/4/2025 | Private Label | Total US | 1244301.122 | |
5/4/2025 | Product S | Total US | 726309.0621 | |
5/4/2025 | Product A | Total US | 812775.1053 | |
5/11/2025 | Private Label | Total US | 1187136.712 | |
5/11/2025 | Product S | Total US | 736028.6031 | |
5/11/2025 | Product A | Total US | 821801.1293 | |
5/18/2025 | Private Label | Total US | 1175951.74 | |
5/18/2025 | Product S | Total US | 767265.7153 | |
5/18/2025 | Product A | Total US | 794717.889 | |
5/25/2025 | Private Label | Total US | 1127069.29 | |
5/25/2025 | Product S | Total US | 711859.7221 | |
5/25/2025 | Product A | Total US | 824357.0915 |
Solved! Go to Solution.
Sorry yes, what I ended up doing was the following: I went into Power Query and unpivoted the Vol Sales and Vol Sales YA data and then made a custom column to CONCAT the product name and the attribute name. Then I used that CONCAT name as the legend and the values column as the y-axis.
Thanks!
Hi @MichaelaMul ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
B Manikanteswara Reddy
Hi @MichaelaMul ,
May I ask if you have gotten this issue resolved?
If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Regards,
B Manikanteswara Reddy
Sorry yes, what I ended up doing was the following: I went into Power Query and unpivoted the Vol Sales and Vol Sales YA data and then made a custom column to CONCAT the product name and the attribute name. Then I used that CONCAT name as the legend and the values column as the y-axis.
Thanks!
You can either have a legend, or you can have two Y axis values, but not both.
One option is to use Small Multiples
The other option would be to modify your data to change the product column to include the CY/PY distinction
I kinda prefer the small multiples.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.