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
Wresen
Post Patron
Post Patron

Graph problem with measure.

Hi and thanks for reading this.

 

I have a line and cluster column chart and i dont want the columns to be shown for "Bridge Who" when all values are show (se picture A). 

I want it to look like picture B

 

When i click one one at "Bridge Who" i want it to look like Picture C ( that is working)

So basicly i dont want the values to be shown for "Bridge Who" when we show total , only when one is choosen

I hope i have manage to expalin myself.

 

The file i work with can be found:
https://drive.google.com/open?id=1xWcUAmV97cMla-BaP6ovRpTJgGi4KWn_

/Thanks

Picures A (How it looks now)

PictureA.png

Picure B (This is how i want to look when all is shown)

PictureB.png

Picture C 

PictureC.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Not sure I got is completely but isfiltered or isinscope should help

 

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

 

Measure = if (isfiltered(table[Bridge Who]), [count of Bridge Who],blank())

 

 

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

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Not sure I got is completely but isfiltered or isinscope should help

 

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

 

Measure = if (isfiltered(table[Bridge Who]), [count of Bridge Who],blank())

 

 

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 so much both.

 

I tried out amitchandak's measure and it worked perfectly 🙂

I will also read up on "HASONEVALUE" so i know about that also 

 

Thank you both , amitchandak and Greg_Deckler. 

Greg_Deckler
Community Champion
Community Champion

@Wresen so I believe the way to fix your issue is to use HASONEVALUE as a check on Bridge Who and then if that is FALSE return BLANK in whatever you are using for your columns. If you are not using a measure, just create one with that check and if it is TRUE, do whatever aggregation you are using on the column used for the value in your columns (in your visual). 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.