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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
v-jianpeng-msft
Community Support
Community Support

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
v-jianpeng-msft
Community Support
Community Support

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.