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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Conditional filter

Hi,

 

I've got a table with hourly information displayed in the rows.

In some period of the day, an intervention can be applied, and I have two scenarios: a what if run (as if the intervention didn't apply) and an outrun scenario (with the result of the intervention). As an example, consider the following table:

HourUnitTargetIntervention
04:00A50
04:00B70
04:05A60
04:05B70
04:10A40
04:10B60
04:15A40
04:15A01
04:15B60
04:15B101
04:20A00
04:20B100

 

I need to analyze the information of the units (much more complex than the table above) during the whole day. When the intervention applies, I should consider the "1" scenario. How to cope with this? A simple filter would just delete the rows with "0", but I would lose the informations on the period with no intervention...

 

any help?

thanks!

3 REPLIES 3
harshnathani
Community Champion
Community Champion

@Anonymous ,

 

Can you let us know what is the expectd output.

 

Regards,

HN

Anonymous
Not applicable

@harshnathaniright, sorry!

 

Actually I was trying to work on the filters directly in the Report tab, but I guess that the easiest solution, or a more functional output could be a new table where in case of intervention the "0" scenario doesn't appear (it might be a problem if the table I'm working with is a 70MB and more?).

 

The final output is a graphical object where I display the targets of different types of unit during the day. Of course, if I have the two scenarios, the two effects are summed, If I have only one of them, some periods of the day aren't displayed (the ones where the intervention doesn't apply).

 

I hope is more clear...just tell!

thanks!

 

Anonymous
Not applicable

HI @Anonymous,

What type of calculated fields are you wanted? Measure or calculate column? If you mean calculated column, current it not able to integrate with slicer/filter to their selected value as filter conditions.

In addition, please share more detailed information to help us clarify your scenario.

How to Get Your Question Answered Quickly 
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.