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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
DigiMarketa
Frequent Visitor

Filter within table

Hi,

 

I´m wondering how to solve my problem with filtering.

 

Users will within the first step filter specific products and then filter just types without/with low stock to export it. 

 

Snímek obrazovky 2022-10-10 124328.png

Is there any possibility how to solve this within PBI?

 

Many thanks

2 ACCEPTED SOLUTIONS
JorgePinho
Solution Sage
Solution Sage

I think you can archive the desired output with 2 slicers:

 

1. A slicer for Product

2. A slicer for Stock. You can use the "Between mode" or the "Less than or equal to"

JorgePinho_0-1665400930396.png

 

View solution in original post

Anonymous
Not applicable

Hi @DigiMarketa ,

I have created a simple sample, please refer to it to see if it helps you.

Create a table includes [product] column, and without relationship between the 2 tables.

Then create a measure.

Measure =
VAR _SELECTED =
    SELECTEDVALUE ( 'FILTER'[PRODUCT] )
VAR _MINVALUE =
    MINX (
        FILTER (
            ALL ( 'Table' ),
            'Table'[PRODUCT] = SELECTEDVALUE ( 'Table'[PRODUCT] )
        ),
        'Table'[STOCK]
    )
RETURN
    IF (
        MAX ( 'Table'[STOCK] ) = _MINVALUE
            && _SELECTED = SELECTEDVALUE ( 'Table'[PRODUCT] ),
        _MINVALUE,
        BLANK ()
    )

vpollymsft_0-1665470415914.png

vpollymsft_1-1665470426332.png

 

 If I have misunderstood your meaning, please provide more details with your desired output.

 

Best Regards

Community Support Team _ Polly

 

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

View solution in original post

3 REPLIES 3
DigiMarketa
Frequent Visitor

Hi,

 

thank you both for your solutions. Both is possible way, how to do it.

 

Regards, 

 

Marketa

 

Regards

Anonymous
Not applicable

Hi @DigiMarketa ,

I have created a simple sample, please refer to it to see if it helps you.

Create a table includes [product] column, and without relationship between the 2 tables.

Then create a measure.

Measure =
VAR _SELECTED =
    SELECTEDVALUE ( 'FILTER'[PRODUCT] )
VAR _MINVALUE =
    MINX (
        FILTER (
            ALL ( 'Table' ),
            'Table'[PRODUCT] = SELECTEDVALUE ( 'Table'[PRODUCT] )
        ),
        'Table'[STOCK]
    )
RETURN
    IF (
        MAX ( 'Table'[STOCK] ) = _MINVALUE
            && _SELECTED = SELECTEDVALUE ( 'Table'[PRODUCT] ),
        _MINVALUE,
        BLANK ()
    )

vpollymsft_0-1665470415914.png

vpollymsft_1-1665470426332.png

 

 If I have misunderstood your meaning, please provide more details with your desired output.

 

Best Regards

Community Support Team _ Polly

 

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

JorgePinho
Solution Sage
Solution Sage

I think you can archive the desired output with 2 slicers:

 

1. A slicer for Product

2. A slicer for Stock. You can use the "Between mode" or the "Less than or equal to"

JorgePinho_0-1665400930396.png

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.