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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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