cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gadwood74 Frequent Visitor
Frequent Visitor

Clean data in a base table based on related info in another table

Here's my challenge:

 

TABLE 1: I see all my general ledger accounts (GL) in various GL groups. One GL can be in many groups.

TABLE 2: I see the only MAIN GL groups used to build my financial statement.

 

Question: At the query level, In TABLE 1, is it possible to clean data and only see the groups I see in TABLE 2?

 

Initially I thought adding a column in Table 1 showing the related results in Table 2 (blank if N/A), but not even sure how to do it...

 

Still in my first week of learning Power Bi. Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Clean data in a base table based on related info in another table

@Gadwood74  One way of achieving this is by joining (Inner Join) both Table 1 and Table 2, then you will get the result set of GLs which are present in Table 2 as well as Table 1. Use Merge Queries option in Power Query Editor.

 

Please always provide the sample test data and expected output, if you are looking for exact steps with accurate solution.



Did I answer your question? Mark my post as a solution !

Proud to be a Datanaut !





View solution in original post

2 REPLIES 2
Super User
Super User

Re: Clean data in a base table based on related info in another table

@Gadwood74  One way of achieving this is by joining (Inner Join) both Table 1 and Table 2, then you will get the result set of GLs which are present in Table 2 as well as Table 1. Use Merge Queries option in Power Query Editor.

 

Please always provide the sample test data and expected output, if you are looking for exact steps with accurate solution.



Did I answer your question? Mark my post as a solution !

Proud to be a Datanaut !





View solution in original post

Gadwood74 Frequent Visitor
Frequent Visitor

Re: Clean data in a base table based on related info in another table

Thanks - I want to clean data at the query level not in the report section. 

Helpful resources

Announcements
New Ranks and Rank Icons in 2020

New Ranks and Rank Icons in 2020

Read the announcement for more information!

New Kudos Given Badges Coming

New Kudos Given Badges Coming

We're rolling out new Kudos Given badges. Find out how many Kudos you've given.

November 2019 Community Highlights

November 2019 Community Highlights

Get an overview of the events and great community content from November.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)