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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.