<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=612681139262614&amp;ev=PageView&amp;noscript=1">
Skip to content

Need help? Talk to an expert: phone(904) 638-5743

Power BI Custom Visuals - Sparkline

Power BI Custom Visuals - Sparkline


In this module, you will learn how to use the Sparkline Power BI Custom Visual.  The Sparkline visual allows you to display trends in data through an animated line visual.

Module 23 – Sparkline


Key Takeaways

  • Shows trends in data most often by time.
  • It can only visualize a single measure.
  • The Sparkline visual can be configured to animate across time.


This Sparkline shows the number of insurance claims by year.

  • Under the Format paintbrush there are a few settings that allow you to customize the way data is presented in the Sparkline.
  • Under the Visual_General section you can adjust the thickness of the line by increasing the size property. Here you can also change the color of the line itself.


  • If you turn on the Animation section, it will animate the Sparkline over your Category axis.
    • Here you can adjust the Duration of how long the animation takes.
    • You can also determine the Delay between each execution of the animation.


  • In addition to these properties, you have a set of settings that appears on every visual to adjust the background color, add a border around the visual and lock the aspect ratio.

Find Out More

You will always be able to find this video module and advanced viewing of future modules on the Pragmatic Works On-Demand Training platform or view my previous blog posts.

On-Demand Training

Sign-up now and get instant access

Leave a comment

Free Trial

On-demand learning

Most Recent

private training

Hackathons, enterprise training, virtual monitoring