Skip to main content

Power BI

Under Review

Sparkline

Vote (5229) Share
Wenchang Han's profile image

Wenchang Han on 03 Dec 2014 08:40:49

Can we add sparkline support to tables and matrix? Native Excel PivotTable supports it.

http://www.tips-for-excel.com/wp-content/uploads/2011/07/Picture117.png

Administrator on 28 Jun 2021 09:54:49

Great idea! We'd like to add more visualization types in the future, and the votes that this item receives will help us prioritize them.

Comments (96)
Wenchang Han's profile image Profile Picture

561aeb4c dc20-412a-b342-1422d07fa573 on 05 Jul 2020 23:15:35

RE: Sparkline

Please include this in the next update.

Wenchang Han's profile image Profile Picture

517d78cb 2d9b-46ef-9b8a-8a481580eccc on 05 Jul 2020 23:14:14

RE: Sparkline

I agree - sparklines would be a great addition to the visuals.

Wenchang Han's profile image Profile Picture

ab1bf97c 3964-42e1-9051-5bbc0ff38351 on 05 Jul 2020 23:13:41

RE: Sparkline

Sparkline is liked by most, please have it as a feature.

Wenchang Han's profile image Profile Picture

cb3c7201 2d62-4c07-9029-4f4b504864b7 on 05 Jul 2020 23:13:34

RE: Sparkline

please add sparklines that automatically use the date dimension/table defined in a model and make it configurable. Also ensure that last value is always posted at end of the sparkline (see E.Tufte for the true examples). Hope this comes soon!

Wenchang Han's profile image Profile Picture

9b785356 2bf5-4f76-99df-9dc42495775d on 05 Jul 2020 23:12:13

RE: Sparkline

This would be so helpful!

Wenchang Han's profile image Profile Picture

420143fe 989d-4604-914e-2bf52ac48387 on 05 Jul 2020 23:03:05

RE: Sparkline

A lot of focus needs to be put into Tables and Matrix visuals. A lot of times, a table of summarized data showing multiple metrics and little sparklines for any trending can provide way more insight that any fancy chart.
Sparklines, conditional formatting, icon sets and ability to expand with a plus (in matrix visual) are must have features in the table/matrix visual.
Actually, all the Power BI Team needs to do is take a good hard look at the Excel Pivot tables and pretty much replicate whatever is in there.

Wenchang Han's profile image Profile Picture

c0776679 5c0d-4a61-b8fd-eda2c9253cec on 05 Jul 2020 23:00:47

RE: Sparkline

I imagine this could be done. One you can check is VitaraChart which is currently available on appstore.
It can do the job though I found it was built using a heavy bundle of libraries including ag-grid.
I've worked with d3.js and I managed to include several type of sparklines in grid cells calling svg shape functions. The key is to bind the proper data format as bullet chart model differs from column or line chart. That may be a challenge in dataViewMapping. Managing to select a sparkline format from a droplist on top of each grid cell would also be a challenge to try

Wenchang Han's profile image Profile Picture

65c88a40 2a5b-4b65-9906-a3d11145690d on 05 Jul 2020 22:59:04

RE: Sparkline

Can I suggest that when you look at providing this functionality you check out Stephen Few's post on best practices for scaling sparklines. See https://www.perceptualedge.com/articles/visual_business_intelligence/best_practices_for_scaling_sparklines.pdf

Also, if you want to be REALLY revolutionary, allow multiple series within sparklines, and allow users to choose different display methods for each series. So they could have budget as a line, historic sales as an area (in the background), and bars denoting sales to date. In one easy glance, a user can then monitor all three things they need to know about a line item. I've been doing this in Excel for years, using some VBA code I wrote to create mini-charts without labels shrunk to the size of a cell, and fed automatically by a PivotTable. The result is pure magic from an information visualisation perspective, as you can see at the images in my comment at https://peltiertech.com/sparklines-for-excel-vs-excel-2010-sparklines-guest-post/#comment-26473

Wenchang Han's profile image Profile Picture

3d6055cf 7077-449a-a5f4-5e8ce5207fa6 on 05 Jul 2020 22:58:58

RE: Sparkline

Sparkline capability would be a great feature. Would help move past using Excel for this purpose

Wenchang Han's profile image Profile Picture

a3309361 99be-ea11-a812-000d3a8ddfb2 on 05 Jul 2020 22:58:19

RE: Sparkline

Would be Great!