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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
krz_b
Frequent Visitor

Add constant (dashed) line to combo chart

Hello,

 

I am trying to add next dahsed line contant line into combo chart (line and stacked column chart), same like it is in this picture: 

krz_b_0-1645455614735.png

 

After I add new measure (percentage format) and format it as dashed (dotted/solid) line, it only stick with one month (see blue dot in below chart) and it doen't distribute it to all months (like red or orange line in above chart):

 

krz_b_0-1645457610934.png

 

It is already added to line values:

krz_b_2-1645457009326.png

 

Please help me to write next constant line into this chart

 

Thank you

6 REPLIES 6
parry2k
Super User
Super User

@krz_b SO you are saying if you are not using relative filtering it works but otherwise not. If that is the case, it doesn't make sense either because the constant line measure is a fixed value and relative date filtering shouldn't have anything to do with this. Can you share pbix file?



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.

krz_b
Frequent Visitor

Hello @parry2k ,

 

Do you have any news - please check your inbox, you shoud see the link to the file - I wasn't 100 sure whether this file doesn't contain any sensitive data

Thanks a lot

parry2k
Super User
Super User

@krz_b that doesn't make sense, can you share pbix file, remove sensitive information before sharing.



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.

parry2k
Super User
Super User

@krz_b what measure you used for constant line, it should be simply

 

Constant Line = 0.6

 

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.



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.

krz_b
Frequent Visitor

Hi @parry2k,

Thank you for your answer, the measure was set like you described

krz_b_0-1645457916588.png

It can be seen in the chart (see blue dot) but it cannot be distributted properly,

Thanks for you help

krz_b
Frequent Visitor

Hi @parry2k,

Thank you for your message, it looks like it is the issue with one measure which is included into CQD (Microsoft call dashboard data source) Query, called StartTime.

krz_b_1-1645541568831.png

 

Issue occurs when the filter type is changed to 'relative date' to show the data for last n-months.

krz_b_0-1645541352071.png

 

This filter is really nice because I do not have to manually change the month I want to report

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors