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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
SmilikaL
New Member

Reference Line in Power BI Line Graph Displays Incorrect Format

I have a Line Graph in Power BI that updates based on the selected metric. When I select Metric 16407, the US Pctl value (62.21%) is correctly reflected in the reference line of the graph.

However, when I select a metric that does not have "My R4Q" values but has a US Pctl value, such as Metric 16074 (98.83%), the reference line displays an incorrectly formatted value (e.g., a decimal instead of a percentage). When I add the measure used for the reference line to a table, it displays in the correct format. Similarly, if I use the measure on the Y-axis instead of as a reference line, it also appears in the correct format.

What could be causing this formatting issue? How can I ensure the reference line always displays the correct percentage format regardless of whether "My R4Q" has a value? Any insights or solutions would be greatly appreciated!                                                        

SmilikaL_0-1742619712984.png

SmilikaL_1-1742619726431.png

SmilikaL_2-1742619901103.png

SmilikaL_3-1742619916296.png

 

5 REPLIES 5
Anonymous
Not applicable

Hi @SmilikaL 
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

Anonymous
Not applicable

Hi @SmilikaL 
I wanted to check if you had the opportunity to review the information provided by @rohit1991 and @Deku . Please feel free to contact us if you have any further questions. If their response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

Anonymous
Not applicable

Hi @SmilikaL 
Thank you for reaching out microsoft fabric community forum.

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

rohit1991
Super User
Super User

Hi @SmilikaL 

 

This is a known formatting issue with constant/reference lines in Power BI. Even if your X-axis is a date, Power BI sometimes shows the constant line label in number format (e.g. 45242 instead of 10/07/2024).

 

Quick workaround: manually type the label instead of using dynamic formatting. Or you can use a line chart with a measure-based line if you need full formatting control.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
Deku
Super User
Super User

Can you share the measure used to generate the reference line


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.