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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
s15
Helper III
Helper III

Change the data label

I have a list of people with Gender column to identify whether a person is female or male. The values are F and M. In the chart, I don't want to show F and M, but full description, such as Female, Male. Have a look at below screen. Instead of display F and M which may be hard to understand, I need to use Female and Male while values are still remained.

 

 powerbi01.PNG

5 REPLIES 5
Anonymous
Not applicable

You can add a conditional column with 'Male' for M and 'Female' for F and use that column instead.

@Anonymous @Anonymous I thought about your suggestions but I think this way creates a redundant column which I don't like to manage. It would be good if I could only modify a Display View for giving more sense rather than adding a new column. Thank you

Anonymous
Not applicable

@s15,

It is not possible to directly modify the display view of detail label in pie chart, you can submit a feature request in the Power BI ideas forum.

Regards,

Anonymous
Not applicable

I know it seems that way, but its how you do it.

Anonymous
Not applicable

Create a custom column in either Power Query or DAX that acts as a Gender label.  The DAX version would be:

Gender Display = IF(
	[Gender] = "M",
	"Male",
	"Female"
)

Now you use that display field instead.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.