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.
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.