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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
GilbertGotfried
Frequent Visitor

Two Column Line Graph with labeled markers

I'm trying to figure out a way to do this. It seems like it would be simple, and yet, unless I'm missing something, it isn't.

 

emp.png

 

 

 

 

 

 

 

 

 

 

 

 

For each employee, they have a number of different event types or jobs. The line tracks the number by month. The number of employees is variable, depending on the team selected. The number of events is also variable, depending on what the employee does.  I want it to display like this: Employee and then their tasks grouped by each employee.  Then a labeled line showing the number of each of those tasks per month.

 

I can do a matrix with a sparkline, but my version of PB doesn't allow you to label the sparklines, which is necessary.

 

A regular line graph with small multiples doesn't work because the number of employees/events is variable so you never know how many multiples you're going to get. The number of rows depends on exactly what is selected. The max is 36 and there can be more than that.

 

The X axis is date, the Y is the number of events, the Y axis needs to be numeric, and small mutiples doesn't work.

 

1 ACCEPTED SOLUTION
Rufyda
Super User
Super User

Hi @GilbertGotfried ,

This can’t be done with native Power BI visuals.

What you’re asking for is a hierarchical line chart
(Employee → Task → Monthly count) with:

Dynamic number of employees

Dynamic number of tasks per employee

Numeric Y-axis

Data labels on markers

Power BI doesn’t support this combination.

Why each option fails:

Matrix + Sparklines → no data labels

Small multiples → not truly dynamic, breaks at scale

Standard line chart → no Employee → Task grouping

Recommended solution:
Use a custom visual, preferably Deneb (Vega-Lite).
It supports:

Dynamic faceting by Employee

Multiple task lines

Full control over labels and layout

Alternative workaround:
Filter to one employee at a time using a slicer.

 

Try these solutions and let me know if you need further clarification

Regards,
Rufyda Rahma | MIE

 

View solution in original post

4 REPLIES 4
v-tejrama
Community Support
Community Support

Hi @GilbertGotfried ,

 

Thank you @Rufyda  for the response provided!


Has your issue been resolved? If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

 

Thank you.

Hi @GilbertGotfried ,

 

I wanted to follow up and see if you had a chance to review the information shared. If you have any further questions or need additional assistance, feel free to reach out.

Thank you.

 

Rufyda
Super User
Super User

Hi @GilbertGotfried ,

This can’t be done with native Power BI visuals.

What you’re asking for is a hierarchical line chart
(Employee → Task → Monthly count) with:

Dynamic number of employees

Dynamic number of tasks per employee

Numeric Y-axis

Data labels on markers

Power BI doesn’t support this combination.

Why each option fails:

Matrix + Sparklines → no data labels

Small multiples → not truly dynamic, breaks at scale

Standard line chart → no Employee → Task grouping

Recommended solution:
Use a custom visual, preferably Deneb (Vega-Lite).
It supports:

Dynamic faceting by Employee

Multiple task lines

Full control over labels and layout

Alternative workaround:
Filter to one employee at a time using a slicer.

 

Try these solutions and let me know if you need further clarification

Regards,
Rufyda Rahma | MIE

 

Another alternative would be SVG which can also give you the data labels back (if you code for it)

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.