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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
LM24
New Member

Set Custom Axis Power BI Sparkline

I have a table in Power BI set up with sparklines showing a how a rating (on a scale of 0 - 100) has changed over time by customer, however as each sparkline uses its own data to set the axis, the visual can be misleading.

 

For example, a customer going from 100 - 85 may not be a huge concern, however the sparkline shows it as a huge decrease as it considers 100 to be the max and 85 to be the min.

 

How do i set the axis to be max 100 and min 0 so that the sparkline visuals are more meaningful and not setting off unnecessary alarm bells?

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @LM24- sparklines in Power BI to have a fixed minimum and maximum value.

 

NormalizedRating =
DIVIDE(
[RatingMeasure] - 0,
100 - 0
)

 

rajendraongole1_0-1718432861394.png

 

Try the above measure and pass it measure value on y axis and date or required field on x axis.

rajendraongole1_1-1718432936543.png

 

Hope it works. Please check

 

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





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

Proud to be a Super User!





Hi - Thank you, however I am unclear how to put your solution into my Power BI?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors