Forum Discussion
Custom name legend
- 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
Hi,
I am looking for maybe, a similar solution.....
I have created certain measures like mSumPhaco, mSumSICS and mSumFreeCataract and have plotted it on clustered column chart. Obviously, name of the measures are appearing as legends. I wish to change the legends as per the image below. One way of doing so is ofcourse renaming the measures, but I do not want to do so.
Can that be achieved?
Thanks.
- AdamBuckley7 years agoFrequent Visitor
Hi - You can rename the legends from the fields menu
- deepvibha7 years agoAdvocate II
AdamBuckley Thank you. This was introduced in one of the updates. Thank you anyways.
- edejes29 years agoAdvocate IV
Hello deepvibha,
We discussed your question during the "Forum Aid" event of our user group.
You can try adding a custom column with the following if Text.Contains([ColumnName], "A") then "A" else "B"
Best regards,
Global & Virtual Power BI User Group
- deepvibha9 years agoAdvocate II
Thanks edejes2,
I think I was not very clear in my question... here it is again - in a screenshot format:
Being "Measures", there are no columns to be renamed with an "If" statement.
If I have got you wrong... pl. let me know in details how to achieve it with your solution.
Thanks
- edejes29 years agoAdvocate IV
If you right click the measure you can re-name the measure, that will reflect in your legend. Likewise, you can add a custom legend accessing the setting of the visualization.
I am not clear when you said that " Without remaining the measures" you don't want the measure that you apply?.
Best regards,
Global & Virtual Power BI User Group
- Anonymous7 years agoNot applicable
Hi Did you solved this problem,because i am also stuck in the same promblem,want to update the legend name of pie chart.