Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have a line graph showing sales by region (the regions are the legend). Please can you tell me how to add a "Total Sales" line (i.e. all the regions added together), while still showing the region splits?
Thanks,
CM
Solved! Go to Solution.
create new measure for total sales something like this:
Total Sales = Calculate(Sum(Table1[Sales]), All(Table1))
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
You can create a calculated column as mentioned by @parry2k
Coming to the visual, you can make use of POWERKPI chart instead of a simple Line Chart to show both line at one time.
create new measure for total sales something like this:
Total Sales = Calculate(Sum(Table1[Sales]), All(Table1))
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
User | Count |
---|---|
94 | |
79 | |
76 | |
64 | |
60 |
User | Count |
---|---|
108 | |
101 | |
77 | |
63 | |
61 |