Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all,
I was trying to implement an incremental load for the usage metrics report.
I have the excel table imported which gets refreshed bi-weekly (manually) and I have another table created to hold historical data since PBI generated usage metrics dump file holds only 90 days of data.
I wanted to keep all previous data into the second table and update only new data from the first table.
Since the first table already have the previous 75 days of information (90days - 15 for bi weekly dump), simple append will end up creating duplicate rows.
Is there any way to append with condition where only the rows will be appended from the first table where the date is after (lets say) 05/15/2018?
Can I put the condition in advance editor (given below) for the second table?
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i44FAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [Column1 = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}}), #"Appended Query" = Table.Combine({#"Changed Type", Airbus}), #"Removed Columns" = Table.RemoveColumns(#"Appended Query",{"Column1"}) in #"Removed Columns"
I have another cheap idea where the tables will get appended and remove duplicates based on the dates, however, I am little skeptical about that.
Thanks,
K3
Solved! Go to Solution.
Hi @k3rz0rg,
Your idea could be the best way. I guess you don't have duplicates in a single file. So,
1. Append the tables as a new table or what you need.
2. Select the columns that you think they can be the criterion.
3. Click remove duplicates.
Best Regards,
Dale
Hi @k3rz0rg,
Your idea could be the best way. I guess you don't have duplicates in a single file. So,
1. Append the tables as a new table or what you need.
2. Select the columns that you think they can be the criterion.
3. Click remove duplicates.
Best Regards,
Dale
Hi @v-jiascu-msft,
thank you for the reply and supporting my idea. Rather than following the messy way, for now I'm just keeping it simple and doing the same thing as you showed.
Unfortunately, I do have multiple columns with duplicate values, for example one person has multiple report page views; what I did was
Seems like it worked so far, have to wait for few more tests but I guess this steps might work for other people with same issue as well. I am marking your reply as answer since that gave me the hint of selecting multiple columns.
Regards,
K3
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
69 | |
46 | |
39 | |
33 |
User | Count |
---|---|
163 | |
110 | |
61 | |
51 | |
40 |