Forum Discussion

nganguyensyntax's avatar
nganguyensyntax
Frequent Visitor
2 years ago
Solved

Filter Rows which don't start with letter defined in another table

Hello,   I have a table, let's call it Transaction. This has 2 columns Customer ID and Transaction I have another table called Rule, whose ID is connected to Customer column in the other tab...
  • TheoC's avatar
    2 years ago

    Hi nganguyensyntax 

     

    If Anonymous's solution doesn't work, I recommend using Power Query to achieve this.  You can do this with a couple of transformations and then using Merge to create a new table with the desired output.

     

    You can refer to the Applied Steps in each of the respective tables to see what I did to get the output. However, the most important thing is that prior to Merging the tables, you create a new column in each table that will be used as the relationship that ensures the merge occurs correctly.  I have created the 'validityCheck' column in each table and that is the basis of the Merge.

     

     

    The output will look like this:

     

     

    Example File.pbix

     

    Hope this helps!

     

    Theo