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
Analitika
Post Prodigy
Post Prodigy

How make empty item in legend in Power BI

Hi,

 

I would like to ask how I can make empty item in legend if there are no existing year for example:

visual looks like this

Analitika_0-1680070051058.png

We see EUR / h 2024 in legend if even 2024 don't exist. That measure 

Analitika_1-1680070108430.png

is EUR / h 2024 line y- axis. Any workaround here?

3 REPLIES 3
Analitika
Post Prodigy
Post Prodigy

Hi, so seems that no workaround in my case is possible?

Analitika
Post Prodigy
Post Prodigy

So as I understand no solutions in my case, not possible to hide?

Avantika-Thakur
Solution Supplier
Solution Supplier

Hi @Analitika ,

As you are using separate measures for each line in Y-axis, it will show as a placeholder for each measure in Legends even if it doesn't hold any data.

It can be hidden only in case of dimensions(text column) being used in the Legends by unchecking the "Show items with no data" property.

 

Thanks,

Avantika

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.