March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Well I have done this before and now have to recreate it but I do not know anymore how I did it!
Strange this that the solution shows like a table but there is no logic.
So here is the table:
But as you can see in the formula bar there is nothing.
What this does is look in the main data for a field PF.
Then it compares it to a master data table in the model that also has field PF.
When in the new data it finds a value for PF that is not in the master data table it will list these lines in this CrossRefCheck table.
Only bit of logic I can find is in query editor:
So here in the query editor you see all tables involved.
AgeingDetails is the new data coming in, PF is the master data against which the new data is checked.
Then CrossRefCheck is the table that gets created by this little logic.
But how was it setup?? Cannot find a new table option in query editor.
Solved! Go to Solution.
Hi @rpinxt ,
You can follow the steps below to get it:
1. Navigate to Power Query Editor, Click New Source--> Blank Query to create a new query and rename this query as "CrossRefCheck"
2. Select the above query and click "Advanced Editor" in Home ribbon. Paste the codes in it just as the one in below screenshot
Best Regards
Yes thanks @v-yiruan-msft I also found the blank query.
Can do it like you did in advance editort.
But I just did it in the normal formula line:
Work also just fine.
Thanks.
Well thanks @v-yiruan-msft but there is just the code that I already saw:
But how did I make this. Where did it start.
I was not done by addiing a new table:
So where do you put that source code in??
Source = Table.RemoveMatchingRows(AgingDetails,Table.ToRecords(PF),{"Prod.Fam."})
Where to create this table.removematchingrows logic ?
Hi @rpinxt ,
You can follow the steps below to get it:
1. Navigate to Power Query Editor, Click New Source--> Blank Query to create a new query and rename this query as "CrossRefCheck"
2. Select the above query and click "Advanced Editor" in Home ribbon. Paste the codes in it just as the one in below screenshot
Best Regards
Yes thanks @v-yiruan-msft I also found the blank query.
Can do it like you did in advance editort.
But I just did it in the normal formula line:
Work also just fine.
Thanks.
Hi @rpinxt ,
You can go to Power Query Editor, select the query [CrossRefCheck]. The Advanced Editor lets you see the code that Power Query Editor is creating with each step. Please navigate to Home ribbion and click "Adavanced Editor" to open the page.
Best Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |