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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply

the constant line name is not showing

 

Hi everyone,

I'm writing this message because i need to name the constant line label shown as "undefined" that i created over this visual, but i didn't find where to do it in the propreties panel that i have 

Utilisateur_pb_1-1739543331955.pngUtilisateur_pb_2-1739543407828.png

 

1 ACCEPTED SOLUTION

Hi @Utilisateur_pb ,

 

Thank you for your update. I attempted to reproduce the issue using a similar dataset and configuration, and the constant line label is displaying correctly without showing "undefined." Thank you for your valuable inputs, @Anonymous .

 

Please ensure the following:

  1. Valid Value Input:
    • Confirm that the constant line value is entered manually or returned by a valid measure.
    • Blank or invalid values can cause the "undefined" label.
  2. Measure Validation (if applicable): Ensure your DAX measure doesn’t return BLANK () or null.
  3. Data Label Settings: Under Data label, try toggling the Style option (e.g., from Both to Value).
  4. Power BI Version: Check that you are using the latest version of Power BI Desktop.
  5. Re-add Constant Line:  If all else fails, try removing and re-adding the constant line.

 

Vyubandimsft_0-1740162549660.pngVyubandimsft_1-1740162573490.png

 

Vyubandimsft_2-1740162602224.png

 

 

If you’ve already tried these steps and the issue continues, could you please share the exact steps or a snippet of your data model?  This will help me provide more precise guidance.

 

If my response solved your query, please mark it as the Accepted solution to help others find it easily.

And if my answer was helpful, I'd really appreciate a 'Kudos'.

 

 

 

View solution in original post

6 REPLIES 6
V-yubandi-msft
Community Support
Community Support

Hello @Utilisateur_pb ,

 

We noticed we haven't received a response from you yet, so we wanted to follow up and ensure the solution we provided addressed your issue. If you require any further assistance or have additional questions, please let us know.

Your feedback is valuable to us, and we look forward to hearing from you soon

 

 

V-yubandi-msft
Community Support
Community Support

Hi @Utilisateur_pb ,

 

We wanted to follow up on our previous conversation regarding the issue you were experiencing. Have you had a chance to try the solutions we discussed?

If you need further assistance or have any updates, please let me know. If the issue is resolved, kindly mark it As Accepted Solution.

 

Best regards, 

Yugandhar.

V-yubandi-msft
Community Support
Community Support

Hi @Utilisateur_pb ,

We  wanted to follow up and check if the solution provided by @Anonymous , worked for you. It looks like they shared an accurate fix for your issue. Thank you for your response @Anonymous .

 

If the solution resolved your problem, kindly consider marking it As Accepted. it helps others facing the same challenge. If you need any further clarification, feel free to reach out. We'reready  to assist. 

 

Best regards,
Yugandhar.

Anonymous
Not applicable

Under Data Label then Style, you have seleted Both - change this to get different options

3CloudThomas_0-1739552417128.png

 

 

 

 

I've done this, but i couldn't change the name 'undefined', i tried but it doesn't work.

Utilisateur_pb_0-1739874992478.png

 

Hi @Utilisateur_pb ,

 

Thank you for your update. I attempted to reproduce the issue using a similar dataset and configuration, and the constant line label is displaying correctly without showing "undefined." Thank you for your valuable inputs, @Anonymous .

 

Please ensure the following:

  1. Valid Value Input:
    • Confirm that the constant line value is entered manually or returned by a valid measure.
    • Blank or invalid values can cause the "undefined" label.
  2. Measure Validation (if applicable): Ensure your DAX measure doesn’t return BLANK () or null.
  3. Data Label Settings: Under Data label, try toggling the Style option (e.g., from Both to Value).
  4. Power BI Version: Check that you are using the latest version of Power BI Desktop.
  5. Re-add Constant Line:  If all else fails, try removing and re-adding the constant line.

 

Vyubandimsft_0-1740162549660.pngVyubandimsft_1-1740162573490.png

 

Vyubandimsft_2-1740162602224.png

 

 

If you’ve already tried these steps and the issue continues, could you please share the exact steps or a snippet of your data model?  This will help me provide more precise guidance.

 

If my response solved your query, please mark it as the Accepted solution to help others find it easily.

And if my answer was helpful, I'd really appreciate a 'Kudos'.

 

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors