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
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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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