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

Report Level Filtering based on a condition based of two columns

Hello 

 

I have columns like WareHouse, Plant, Storage Type, Storage Bin in one table and i built report on top of this table with a slicer on warehouse.

.

The filtering requirement is as below -

 

 

If warehouse selected is not null, then Storage type should be filtered to 100

If warehouse is null, then no filtering on storage type and should get records for all storage types.

 

How can I achieve this. Any ideas pls.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I created a flag with the logic I need. then added that flag to the report level filters. It worked. 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I created a flag with the logic I need. then added that flag to the report level filters. It worked. 

Eric_Zhang
Microsoft Employee
Microsoft Employee


@Anonymous wrote:

Hello 

 

I have columns like WareHouse, Plant, Storage Type, Storage Bin in one table and i built report on top of this table with a slicer on warehouse.

.

The filtering requirement is as below -

 

 

If warehouse selected is not null, then Storage type should be filtered to 100

If warehouse is null, then no filtering on storage type and should get records for all storage types.

 

How can I achieve this. Any ideas pls.


@Anonymous

Could you post any sample data? It sounds that you can achieve the goal with some tricky measure composed with ISFILTED, ALLEXCEPT etc.

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.