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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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