Forum Discussion
How to compare two tables to filter data
- 6 years ago
Hi Anonymous ,
You can add a filter in your formula :
'Table'[List Number] IN VALUES('Table2'[Nums Q4])Best Regards,
Dedmon Dai
Anonymous share sample data and what you are trying to achieve, also share the screenshots. Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
- Anonymous6 years agoNot applicable
The link you provided is no longer valid. I only want the visual to show the product numbers that are the on Q4 Prod nums list that are included the 2017 file in the List Number field. 2017 would be my main file and Q4 Prod nums my secondary file. In essence a vlookup to determine the sales for certain product numbers during a partical year. Screenshots are attached.
- Greg_Deckler6 years ago
Community Champion
Anonymous Do you have a relationship between your two tables?
If not, you can also accomplish this using the IN operator.
- Anonymous6 years agoNot applicable
Hi Greg!
I don't have a relationship set up between the two tables. How would I do that?
Thanks for helping the newbie!
_stephanie