cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Paper
Frequent Visitor

Filtering out zeroes across multiple fields

Hi all

 

 

I'm trying to create a single visualisation that includes multiple fields, to report across 75 projects. Because I'm reporting across so many project rows, I'd like to filter out any projects with 0 against a value so that they're not included in the clustered column chart. 

 

 Group1Group2.....
 Value1Value2Value3Value4....
Project11023 
Project20330 
project30401 
Project41107 

 

However, I can't seem to see a way to apply a filter to specific fields - just the visualisation as a whole, so that if (using the table above) I filter out 0 for value1, project2&3 are removed entirely. 

 

Is there a trick I'm missing to apply a filter across all the values in my visualisation, or on 1 field at a time?

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Paper 

In Power Query, you can UnPivot all the Values columns and filter out the zero rows, this way you get the results expected.

Refer : 
https://www.youtube.com/watch?v=_YjFGsS9lNY&t=23s

https://www.youtube.com/watch?v=Vff2kRBM95o&t=0s

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

1 REPLY 1
Fowmy
Super User
Super User

@Paper 

In Power Query, you can UnPivot all the Values columns and filter out the zero rows, this way you get the results expected.

Refer : 
https://www.youtube.com/watch?v=_YjFGsS9lNY&t=23s

https://www.youtube.com/watch?v=Vff2kRBM95o&t=0s

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!