Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi everyone, how can I apply one filter on multiple columns. Like I wanted to filter out columns having with same zero values. However, if there's non-zero value in it, it will not be applied. As seen on the photo below, circle with red should be filtered out, where highlighted yellow will remain as there's 2.18 value on staff actual hours column. Thanks in advance.
Staff Estimated Hours =
CALCULATE (
SUM ( 'Jobs/Tasks/Staff Hours'[Assigned Staff Allocated Hours Array OPEN] )
) + [Staff Estimated Hours Not in Array Open] + [Staff NO Estimated Hours Open] + 0Staff Actual Hours =
CALCULATE (
SUM ( Timesheets[Billable Hours] ),
FILTER ( 'Tasks', 'Tasks'[Task Completed (Job Completed Check)] = FALSE ),
ALLSELECTED ( 'Date'[Date] )
) + 0Staff Estimated V Actual Hours =
IF (
[Staff Estimated Hours Open Old Measure] = 0,
0,
[Staff Estimated Hours Open Old Measure] - [Staff Hours Chargable Timesheets ALL OPEN]
)
Solved! Go to Solution.
You are welcome. Change the criteria to Not equal to 0 to factor in both positive and negative values.
Hi,
In the Filter pane, apply a condition on this measure - "Staff estimated v actual hours" as >0.
Hi Ashish, thanks for taking the time on this. Your solution somewhat solve my problem, however, how can I include the rows having negative values? Thanks so much!
You are welcome. Change the criteria to Not equal to 0 to factor in both positive and negative values.
Apologies, may I know which one is it here? I used the is not 0 then negatives were gone. Thanks!
Is not 0 should have worked. I cannot say why it is not. I may need to see your PBI file.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |