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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
barakkor
New Member

Rename labels of sql values

Hi,

 

I'm getting data from SQL with values (0,1,2 etc...) I would like to rename them on the dashboard to text labels. is there a way to create a rule or a new label for each value?

 

Thank you,

Barak

1 ACCEPTED SOLUTION

In case you don't have the chance to perform edit on SQL, you could:

  • Create a custom columns in powerbi (model or report) or:
  • Enter the Table in PowerBI containing the mapping and relate it to the sql column.

 

View solution in original post

2 REPLIES 2
tjd
Impactful Individual
Impactful Individual

You could "Create Table" and add a column for the SQL values and another for the text names and then relate them via the SQL values column to the SQL table.  Then, insert the text names instead of the SQL values into your visualization(s).

In case you don't have the chance to perform edit on SQL, you could:

  • Create a custom columns in powerbi (model or report) or:
  • Enter the Table in PowerBI containing the mapping and relate it to the sql column.

 

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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