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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Remove / Hide field from chart during drill down

Hi,

Chart-Line & Clustered Column Chart
X axis : month, week,date {3 fields are present to create hierarchy}
Y axis : Amount, Avg price{2 measures are present, these 2 bars are side to side}
Line y axis :A line field is present

Question- I want to  remove or hide the avg price measure when chart is drilldowned to week or date level. How can I do this?
Thanks in advance!!

2 REPLIES 2
Vignesh_Nagaraj
Regular Visitor


ExcludeWeekLevelHierarchy =
SWITCH(
TRUE(),
ISINSCOPE('month'[month]), SUM('Amount'[Amount]),
ISINSCOPE('week'[week]), BLANK()
)

lbendlin
Super User
Super User

Learn about ISINSCOPE.  Return BLANK() in the measure when week or date is in scope.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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