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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
GrandeMariela
Frequent Visitor

Visual Filter no filter

Hi Community I am having problem with a measure I created for hide or show a pie chart depends of segment selected. 

ShowSegmentView = IF(SELECTEDVALUE(DataBase[Segment], "ALL") = "ALL", 1, 0)
In chart I set it like this
GrandeMariela_0-1730318342940.png

 

The problem is even when value is 1 then the chart hide, and when value is 0 still hide. Its weird because in other charts measure filter works without problems. I detected its only a problem when chart/table has Segment as part of it. 

GrandeMariela_1-1730318852196.png

 

Thinking maybe its beacuse I am usign Segment in formula I created another measure taking ShowSegmentView result but still not work. Any hint about it? there is any solution to hide or show graph when something its selected? Thanks in advanced 

SegmentFilterview = if([ShowSegmentView] = 1,1,0)
2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @GrandeMariela 

Please provide a workable sample data and your expected result from that. It is hard to figure out what you want to achieve from the description alone.  

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thanks a lor fot your comment. I will share it, maybe will be more clear.

GrandeMariela_0-1730410039183.png

I Have two pie charts, one with product field and another with segment. At the beginig of load report Segmet pie shown and Product Field pie hide, once I select a Segment in a slice, then Segment pie hide and Product Field pie shown. With this only shown Product fields in the segment selected. 

 

I hope this be more clear, thanks in advance 

 

Mariela Grande ♡

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors