Forum Discussion
Images in Pie Chart
Is it possible to use images as legends in a donut or pie chart? For example, that the chart shows the Coca Cola logo instead of the text "Coca Cola".
Thanks
Hi Anonymous ,
No it is not possible to get Image URL's displayed as images in pie-chart in Power BI.
But, you can display icons or smileys like I tried below:
I created a calculated column based on a column within my dataset and gave them smiley icons:
Emotions Smiley = IF(testTable[TestColumn] = "Happy", "😀", IF(testTable[TestColumn] = "Anxious", "😰", IF(testTable[TestColumn] = "Confused", "😕", IF(testTable[TestColumn] = "Depressed", "😞", IF(testTable[TestColumn] = "Emotional", "😢", IF(testTable[TestColumn] = "Frustrated", "🤯", IF(testTable[TestColumn] = "Lonely", "😟", IF(testTable[TestColumn] = "Sad", "😓", IF(testTable[TestColumn] = "Sensitive", "😣", IF(testTable[TestColumn] = "Stressed", "🥶", IF(testTable[TestColumn] = "Weepy", "😭", IF(testTable[TestColumn] = "Worried", "😱", "👻"))))))))))))
Tell us more details on your requirement so that we can help further.
Thanks,
Pragati
3 Replies
- Greg_Deckler
Community Champion
Anonymous Not sure, do you have a column with an image url with the Data Category for this column set to image url? My guess is going to be no, I have only ever gotten this to work in tables and matrices.
- Pragati11
Super User
Hi Anonymous ,
No it is not possible to get Image URL's displayed as images in pie-chart in Power BI.
But, you can display icons or smileys like I tried below:
I created a calculated column based on a column within my dataset and gave them smiley icons:
Emotions Smiley = IF(testTable[TestColumn] = "Happy", "😀", IF(testTable[TestColumn] = "Anxious", "😰", IF(testTable[TestColumn] = "Confused", "😕", IF(testTable[TestColumn] = "Depressed", "😞", IF(testTable[TestColumn] = "Emotional", "😢", IF(testTable[TestColumn] = "Frustrated", "🤯", IF(testTable[TestColumn] = "Lonely", "😟", IF(testTable[TestColumn] = "Sad", "😓", IF(testTable[TestColumn] = "Sensitive", "😣", IF(testTable[TestColumn] = "Stressed", "🥶", IF(testTable[TestColumn] = "Weepy", "😭", IF(testTable[TestColumn] = "Worried", "😱", "👻"))))))))))))
Tell us more details on your requirement so that we can help further.
Thanks,
Pragati
- amitchandak
Super User
Anonymous , I doubt that possible. Keep the color same in the pie and have image outside the pie and group it with pie visual
You can create set of image text box and group them all together like powerpoint if needed