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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
yasbui
Frequent Visitor

How to show year of data in pie chart

Hi

 

I have plotted the following pie chart and was wondering how I would show the year which this data originates from on hovering over the pie chart (or any other way that can be seen).

 

piechart.jpg

 

The chart is plotted using the table below.

 

gross_sales.jpg

 

I have tried to drag the 'Year' column into 'Legend' which does reflect the information required but only allows one colour on the pie chart (see below) and I need both colours to remain how they are. 

 

2018.jpglegend.jpg

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@yasbui

Remove year field from Legend, drag the Year field to visual level filters and set its value to 2018. There is an example for  your reference.

1.JPG



Regards,
Lydia

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@yasbui

Remove year field from Legend, drag the Year field to visual level filters and set its value to 2018. There is an example for  your reference.

1.JPG



Regards,
Lydia

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.