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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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