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
I have in Excel a bar/line combo chart as below. As you can see, the line chart shows only one point as there is 1 data point in the line series vs 4 points in the bar series.
In Power BI, I have data like this:
But, the closest I can get as far as the chart is this:
As you can see, there is a gap between the bars as they share an X axis and there is no bar for the middle date. I know there is no way to do multiple X axis in PBI, but is there a good workaround?
The line chart dot is actually going to be a calculated rolling average value to help you better understand the use case. The customer wants this average to be a dot in the middle of the chart.
@dave64164624 Hmmm not sure if there will be always a middle, in your sample example data, you have 4 dates for the bar, and if we have to plot point for line chart based on average, it is going to be on top of one of the data bar data point to avoid that empty space. I hope you understood what I'm trying to say. If the count of bars is an odd number then it can be the middle of the chart but not otherwise.
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.
@dave64164624 is it always going to be in the middle of the chart?
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.
Yes, it will always be in the middle.
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 |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |