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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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