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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
MhKT
Regular Visitor

Both legend and tooltips in line chart

@amitchandak , @lbendlin , @MFelix , @ @parry2k 

 

Hi All

 

Please someone help in adding both legend and tooltips in line chart. Beacuse PBI desktop is not allowing me to ON both legends and tooltips in line chart 

 

I am using a  line chart, x axis - year & y axis - values, Legends- list of back dated days from current date,(each line in chart represent selected day), tooltips - need to show year name(short date) x-axis, value - y axis, selected date from legend and some other info from main table.

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @MhKT ,

 

On Power BI using legends the limitation is that you cannot use more than one value on the Y-axis, so or you use legends or you use different metrics on the y-axis, but you can add has many values on the tooltips.

 

However be carefull because the way the tooltips work is similar to values so if you add a text field it will by default select the first value. 

There is also limitation on the tooltips if you are using calculation groups, since this disable the option to use implicit measure on your values or tooltips, meaning that if you are using text fields they will not be added to the tooltip you need to create a measure like SELECTEDVALUE, CONCATANEX, MAX, ... to get the values.

 

If you are not abble to solve it can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @MhKT ,

 

On Power BI using legends the limitation is that you cannot use more than one value on the Y-axis, so or you use legends or you use different metrics on the y-axis, but you can add has many values on the tooltips.

 

However be carefull because the way the tooltips work is similar to values so if you add a text field it will by default select the first value. 

There is also limitation on the tooltips if you are using calculation groups, since this disable the option to use implicit measure on your values or tooltips, meaning that if you are using text fields they will not be added to the tooltip you need to create a measure like SELECTEDVALUE, CONCATANEX, MAX, ... to get the values.

 

If you are not abble to solve it can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.

Top Solution Authors