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
datapal04
Frequent Visitor

Adding Markers to Chart

Hello,

I have a bar chart that counts the number of cases our business unit receives. As an aside, we also have different Events (at any random day) which may influence the number of cases received. I'd like to have a marker (or some visual) to quickly identify when an Event occured. How would you suggest to go about this? Desired outcome is below (Event markers are in orange).

Chart.JPG

Thanks in advance for your help!

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@datapal04 ,

My suggestion is to use the Combo Clustered Line Chart.  This can be a 1 or 0 or actual Event Count.

Create a measure to Count your Events.  Put this as your Line.  Something like this.

rsbin_0-1666032534075.png

Then you can change line stroke width to 0, and change the Marker per your requirement.

Hope this gives you an idea to work with.

Regards,

 

View solution in original post

7 REPLIES 7
rsbin
Super User
Super User

@datapal04 ,

My suggestion is to use the Combo Clustered Line Chart.  This can be a 1 or 0 or actual Event Count.

Create a measure to Count your Events.  Put this as your Line.  Something like this.

rsbin_0-1666032534075.png

Then you can change line stroke width to 0, and change the Marker per your requirement.

Hope this gives you an idea to work with.

Regards,

 

Thank you! I'm curious if there is a mehod to display the name of the event when a user hovers over a marker?

@datapal04 ,

Yes, you can use the Tooltip functionality.

rsbin_0-1666964821314.png

Drag the field or fields you want to display into the Tooltip well.

Other option is to create a custom Tooltip Page.   Search Youtube and you will get all the info you need and much better explanation than I can do here.

Regards,

 

Arul
Super User
Super User

@datapal04 ,
To achieve this you have to use line and stacked column chart and then in the Line y  axis you have to use event metrics, then you have to enable markers under marker section then reduce the line stroke under line properties.
Now you may get the expects result.

Thanks,





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Arul
Super User
Super User

@datapal04 ,

Please share sample data.

Thanks,





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Here you go. There 2 tables: cases by day and dates for Events.

 

DateCase NumbersDayType
2022-06-13 0:00180Weekday
2022-06-14 0:00252Weekday
2022-06-15 0:00269Weekday
2022-06-16 0:00244Weekday
2022-06-17 0:00269Weekday
2022-06-18 0:00129Weekend
2022-06-19 0:0096Weekend

 

eventnameeventdate
Event 12022-06-14
Event 22022-10-19

@datapal04 ,

try this,

Arul_0-1666032933721.png

then,

make line stroke to 0

Arul_1-1666033015933.png

Thanks,

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


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.