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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
pmuthumeena5
New Member

Legend Issue for Line chart

Hi.. i would i would like to know why Iam facing issue with the Legend..while Iam trying to access it..
Let me explain in detail..
I have a column name called DepartureMonth..i have to put that column in the legend field..i'am unable to drag the column to the legend field..the departuremonth column consist of values in whole number format like 1,2,3,4,5,6,7,8 etc to 12 ..I have tried all the methods..But I'm still facing this issue..created dax column for departuredate and extracted the month separately also ..but din't work..kindly help me to sort this issue..

 

Thanks in advance!!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @pmuthumeena5 

I'm happy to answer your questions. By default, The legend is forbidden after Y-ais has used two measures or one measure and an automatically generated aggregate value. It will appear that we cannot drag the columns to the legend field.

In this case, we can no longer drag any columns onto the legend field:

14.png

Or

15.png

As shown in the screenshot above, if two measures are used, the legend field is disabled.

 

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @pmuthumeena5 

I'm happy to answer your questions. By default, The legend is forbidden after Y-ais has used two measures or one measure and an automatically generated aggregate value. It will appear that we cannot drag the columns to the legend field.

In this case, we can no longer drag any columns onto the legend field:

14.png

Or

15.png

As shown in the screenshot above, if two measures are used, the legend field is disabled.

 

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ritaf1983
Super User
Super User

Hi @pmuthumeena5 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors