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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
johnsgx5
Regular Visitor

How to filter a report to only see other values that match

Hello,

 

I am trying to create a filter on a visualization where I want to see all values that exist if vendor 'A' has a bid (Price) on the part.

 

I don't want to only see vendor A's bids.

 

Is this possible?

 

Input   Output  
PartVendorPrice PartVendorPrice
131A $          95 131A $          95
132B $          85 131B $          97
133C $        100 131C $          90
134D $        120 132B $          85
131B $          97 132A $          87
131C $          90    
132A $          87    
137C $        150    
138D $        145    
3 ACCEPTED SOLUTIONS
SachinNandanwar
Super User
Super User

First create a table that holds rows for Vendor A. The source table is Tbl_A.

Tbl_A = FILTER('Tbl_1','Tbl_1'[ Vendor]="A")


Then create a second table that filters rows from the main table based on values of Tbl_A

MatchingParts = 
SELECTCOLUMNS (
    FILTER('Tbl_1', 'Tbl_1'[Part] IN VALUES('Tbl_A'[Part])),
    "Part", 'Tbl_1'[Part],
    "Vendor", 'Tbl_1'[ Vendor],
    "Price", 'Tbl_1'[ Price]
)

 

SachinNandanwar_0-1727218149508.png

 



Regards,
Sachin
Check out my Blog

View solution in original post

Anonymous
Not applicable

Hi @johnsgx5 

You can refer to the following solution.

1.Create a new table.

Table 2 = VALUES('Table'[Vendor])

2.Create a measure.

MEASURE =
VAR a =
    CALCULATETABLE (
        VALUES ( 'Table'[Part] ),
        'Table'[Vendor] IN VALUES ( 'Table 2'[Vendor] )
    )
RETURN
    CALCULATE ( SUM ( 'Table'[Price] ), 'Table'[Part] IN a )

Then put the vendor column in table2 to  a slicer, and put the measure and the related field of the original table to a table visual.

Output

vxinruzhumsft_0-1727233952136.png

Best Regards!

Yolo Zhu

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

Ashish_Mathur
Super User
Super User

Hi,

I have solved a similar question in the attached file.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

I have solved a similar question in the attached file.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @johnsgx5 

You can refer to the following solution.

1.Create a new table.

Table 2 = VALUES('Table'[Vendor])

2.Create a measure.

MEASURE =
VAR a =
    CALCULATETABLE (
        VALUES ( 'Table'[Part] ),
        'Table'[Vendor] IN VALUES ( 'Table 2'[Vendor] )
    )
RETURN
    CALCULATE ( SUM ( 'Table'[Price] ), 'Table'[Part] IN a )

Then put the vendor column in table2 to  a slicer, and put the measure and the related field of the original table to a table visual.

Output

vxinruzhumsft_0-1727233952136.png

Best Regards!

Yolo Zhu

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

 

 

SachinNandanwar
Super User
Super User

First create a table that holds rows for Vendor A. The source table is Tbl_A.

Tbl_A = FILTER('Tbl_1','Tbl_1'[ Vendor]="A")


Then create a second table that filters rows from the main table based on values of Tbl_A

MatchingParts = 
SELECTCOLUMNS (
    FILTER('Tbl_1', 'Tbl_1'[Part] IN VALUES('Tbl_A'[Part])),
    "Part", 'Tbl_1'[Part],
    "Vendor", 'Tbl_1'[ Vendor],
    "Price", 'Tbl_1'[ Price]
)

 

SachinNandanwar_0-1727218149508.png

 



Regards,
Sachin
Check out my Blog

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors