The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
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.
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.
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.
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.
Can you share the measure used to generate the reference line