Forum Discussion
Z7-852
10 years agoHelper I
Custom name legend
I have data with following columns: Product1.FaultA, Product1.FaultB, Product2.FaultA, Product2.FaultB etc. I want to draw two pie charts (one for product 1 and one for 2) that tell how many fau...
- 10 years ago
Your scenario is still confusing me. Maybe you're looking for something as below?
- Unpivot the table.
- Split the Product column by dot.
- Rename the column properly.
In report window, to avoid confusion, instead of individual pie charts, use one chart with slicer. Create a measure Product Indicator and show it in a Card visual.
Product Indicator = IF(ISFILTERED('Table'[Product]),LASTNONBLANK('Table'[Product],""),"all product")Check more details in a
satbirminhas
8 years agoAdvocate II
Power BI seems to have a simple way of implementing this.
The first chart below shows the original labels that are populated based on the name of the measures. Follow the steps listed below to change the labels on your chart.
- Click your chart, and click the small triange next to the measure name on fields tab.
- Click the rename button and type the new Label that you want to show on the chart.
- Legend label is automatically updated with the new label value.
I hope this helps!!
Step 1
Step 2
Step 3
Best Regards,
Satbir Minhas
Anonymous
6 years agoNot applicable
Thank you! Your answer was simple and to the point. 🙂