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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Squizzato
Regular Visitor

Show Only One Axis Label

Hi, 

I need show only one axis label, based on a filter selection, but without filtering other values.

Something like that.

 

Squizzato_1-1661160857153.png

I tried to play with Interactions and SELECTEDVALUE but without any result.

 

Thanks

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Squizzato , I doubt on axis conditional formatting work row-wise , it work on grand total

Measure 5 = if(max('Date'[Date]) = date(2019,01,17) , "black", "white")

 

The above shows all white rows, which means do not work at row level. So I doubt you can do that.

 

The option is to create a measure and change the color using fx-> field value

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

thanks @amitchandak, change the color could be a good solution, but I'm not able to create a measure that depends on a visual filter that is not used in that visual (interaction between visuals disabled). Could you suggest me MDX?

 

thanks

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.