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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Dellis81
Continued Contributor
Continued Contributor

Interactive visuals should filter out zero values

Hello

 

I am needing help in filtering out zero values in an interactive visual.     If I select "purchased livestock" in the left visual, I only want the customers related to purchased livestock to show up in the right visual.

 

Within the "right" visual, I have attempted to filter out (at the visual level) for any value not 0, for the measure Amount.   The desired result for the "right sided" visual is all vendors with an Amount <>0.

 

FilterCustomerWZero.PNG

 

Within hte left sided visual - I have 4 row levels within the matrix visual.  I am assuming whatever is done, will require these data elements?

 

I have also attempted to adjust the measure if zero, then blank.  See below.

MatrixRows.PNG

Amount1 =
VAR calcAmount1 =
    SUMX (
        COASetup,
        [Amount (dbcr balance)] * COASetup[NormalBalance] * COASetup[Report Sign]
    )
RETURN
    IF ( calcAmount1 = 0, BLANK (), calcAmount1 )

 Please advise - surely there is a simple fix.   I am disappointed in the visual filter not working - or am I missing something?

 

thanks

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Dellis81 ,

 

You should use the Edit interactions instead of the filter.

 

When selecting values from a visual the other visual can responde in 3 different ways:

  • Filter - information only shows the values selected on the first chart (similar as using slicers)
  • Highlitgh - information is highligted (is what is by default can be changed)
  • None - don't interact

Check the documentation for further explanation.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @Dellis81 ,

 

You should use the Edit interactions instead of the filter.

 

When selecting values from a visual the other visual can responde in 3 different ways:

  • Filter - information only shows the values selected on the first chart (similar as using slicers)
  • Highlitgh - information is highligted (is what is by default can be changed)
  • None - don't interact

Check the documentation for further explanation.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Dellis81
Continued Contributor
Continued Contributor

Thank you very much!  Yes, I was making this to hard and the video clarified so much.   I recall watching the same video several months ago, but with a little experience, the video makes more sense.   Appreciate your quick response!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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