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
teylyn
MVP

Custom markers in combination column/line chart?

Hi,

 

I have a combination stacked column/line chart. The line is formatted to show only the markers. Is there a way to get a tick mark instead of the cross as a marker? So, either

 

- upload an image to use as a marker

- use a Wingdings or similar font for the marker

- or, use a third party visual that can build a combo chart with custom line markers

- any other option to make the green cross show as a green tick mark

 

The idea here is that zero injuries means a KPI is met and needs to be visualised as a positive. I have formatted the secondary axis to a different scale, hence the x sits a bit above the zero line.

 

2021-01-29_13-13-27.jpg

 

Any ideas welcome.

 

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @teylyn 

Download this sample PBIX file

I've created a new column called Injuries_Line to plot as line values.

Turn on Data Labels, turn on Customize series and only show labels for the line series.

Use a Custom Format string for the line series ✔;;; so it only displays positive values and these values will only be 1 (or whatever value you choose to plot)

cust-str.png

check-mark.png

Regards

Phil 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

6 REPLIES 6
teylyn
MVP

Hi @PhilipTreacy ,

 

that's genius.

 

I never realised that you can just type into the format dropdown. Nor that the Excel formatting syntax applies. Brilliant. 

 

That will work.

 

I just wish that the label font size could be set to something other than small and very small.  I cannot get it to show anything bigger than 8 or 9 pt.

 

Say hello to M.!!

 

- Ingeborg 

@teylyn 

Hi Ingeborg,

Yeah the Custom Strings are pretty cool.  It doesn't allow you do everything exactly the same as Excel.  You can't apply colour for example [Red]

 

You can set the Text Size under Format->Data Labels

lab-font.png

I'll say hi to Myn for you.

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

Hi @teylyn 

Download this sample PBIX file

I've created a new column called Injuries_Line to plot as line values.

Turn on Data Labels, turn on Customize series and only show labels for the line series.

Use a Custom Format string for the line series ✔;;; so it only displays positive values and these values will only be 1 (or whatever value you choose to plot)

cust-str.png

check-mark.png

Regards

Phil 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@PhilipTreacy That is so cool!

Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

DataZoe
Employee
Employee

@teylyn You could try to carefully stack a chart and table. I'd be careful to adjust the chart to the auto setting on the table so it will still work as you get more data.

 

DataZoe_0-1611882824987.png

 

Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

Hi, thanks for the suggestion. How will this behave on different devices and when the visual is pinned to a dashboard?

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.