Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to add an x axis min/max to column chart?

I have a simple column chart and need to add a min/max "bucket" on the chart.

This seems simple but yet again I'm having trouble.

 

The red lines in this chart are drawn with a screenshot app.

How can I make them using PowerBI?

 

Thanks!

 

GollyJer_0-1598988071857.png

 

5 REPLIES 5
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

You might refer to this blog to add the vertical line in line chart (not column chart) for a workaround:

https://prathy.com/2018/05/adding-a-vertical-line-or-marker-to-a-chart-in-power-bi/ 

I also attached the sample pbix i created here:

000.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

@v-diye-msftThis is such a creative solution. Thanks for pointing it out!

 

Sadly... I need the chart to be a column chart and I can't seem to find a way to make a dual axis column chart that would allow for this solution to work in my case. 😕

 

Thanks again!

Jeremy

Greg_Deckler
Super User
Super User

@Anonymous - I am not aware of any options to draw vertical lines on things dynamically. Is that what you are going for?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler  Yes... that's exactly what I'm going for.

 

I was thinking of some way to find the max count of the entire series, then multiply that by the the min and the max values (the red line numbers on the image above) and then just graph them along with the other data. This would give two lines the same height as the tallest column but at the min and max levels.

 

Possible?

@Anonymous - You could experiment with stacked visuals perhaps but that's always dicey at best.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.