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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Filter on 2 values using AND

Heya Experts!

 

I create the following graph:

graphie.png

As you can see there is alot of 0 0 values.

 

The orange bar is calculated using 

Started = IF(ISBLANK(count('WorkItems In Progress WIP'[InProgressDateSK])),0,(count('WorkItems In Progress WIP'[InProgressDateSK])))

and the blue ones using

 

Completed = IF(ISBLANK(count('WorkItems Completed'[CompletedDateSK])),0,(count('WorkItems Completed'[CompletedDateSK])) )

What i want now is a filter to only hide the values if both Completed AND Started is 0. if one of them is higher then 0 i'd like to show both.

 

To be honest i have no idea how to do this.

Thankyou.

 

1 ACCEPTED SOLUTION
Sonne
Helper II
Helper II

Hi,

 

i would try to create a new measure:

 

Sum=started+completed

 

and put this messure into the filter area and set the filter for "SUM" is greater than 0 ....

but maybe there is a better solution..

View solution in original post

5 REPLIES 5
Sonne
Helper II
Helper II

Hi,

 

i would try to create a new measure:

 

Sum=started+completed

 

and put this messure into the filter area and set the filter for "SUM" is greater than 0 ....

but maybe there is a better solution..

Anonymous
Not applicable


@Sonne wrote:

Hi,

 

i would try to create a new measure:

 

Sum=started+completed

 

and put this messure into the filter area and set the filter for "SUM" is greater than 0 ....

but maybe there is a better solution..


Sometimes i wonder how i cant come up with this kind of stuff..

 

Thanks alot! 🙂

lubosst
Frequent Visitor

Hi,

quick idea:

shown =
IF ( AND ( Started = 0, Completed = 0 ), 0, 1 )

and than on page/visual level filter filter only rows with value 1.

Anonymous
Not applicable

@lubosst wrote:

Hi,

quick idea:

shown =
IF ( AND ( Started = 0, Completed = 0 ), 0, 1 )

and than on page/visual level filter filter only rows with value 1.


 

Nope, doesnt work.

 

Maybe i have to add that started and completed are measures. 

ZunzunUOC
Resolver III
Resolver III

Do you have activated "Show with no data"?

 

Best Regards,
Miguel

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors