March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I am currently trying to find a solution for a graph that I was requested to create. The user would like a graph that shows the items on the x axis broken down by year, and then by our different companies, which is easy enough to do. The issue is they also want a line on the graph that shows the total for each year (or basically all items for all companies rolled into one total). It seems to not be possible to do this since adding a second x axis item removes the line options in formatting.
Here is a picture of what I was requested to create:
Here is what I have been able to create in powerBI, issue is, as soon as I add a second item to the X axis I am not able to add a trend or reference line, the option dissapears.
The X axis needs to be split by a count, as well as year, while still retaining the option to add a line that I can code to show the total for each year.
Is there a work around for the line option disappearing with two x axis items?
Solved! Go to Solution.
Try this (using the native bar and line stacked chart):
Year on X axis
Sum of items on column Y axis
Sum of items on line Y axis
Company id on legend
Here's my result:
Try this (using the native bar and line stacked chart):
Year on X axis
Sum of items on column Y axis
Sum of items on line Y axis
Company id on legend
Here's my result:
That worked perfect, thank you so much!
Glad to hear it!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |