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
I have a table that looks like this:
This data comes from a CSV report that I've pulled from online and connected it to my online data source that is already in PowerBI. This data source is connected by the ID column. I want to merge these two rows to reduce the # of rows we have in my data table report. Highlighted in yellow are the data points that I want to keep. What is the best way to merge both rows and have the PowerBI report look cleaner?
can you provide the data in text format?
also what type of scenarios are you expecting? is there a rule of what to select over the other?
Proud to be a Super User!
@vanessafvg I want first line of data to be deleted only if there is a time series correction (there are some lines that are not time series and less commonly multiple time series). Essentially I want my PBI data table to be less clustered. I'm hoping that I can eliminate one of these lines of data somehow. Yes the rule should be to take data from the bottom row excepted for the effective start date, we want the min value of that.
ID Type Name Attribute Name Action Effective Start Date Effective End Date New Value Old Value Knowledge Date Modified By
1 Equity Common Units Payment Rank Time Series Correction 1/1/2000 12/22/2020 Not Applicable 12/23/2020 TS:mgeick
1 Equity Common Units Payment Rank 12/23/2020 12/23/2020 First lien 12/23/2020 mgeick
This is an example of one way of doing it.
I created 2 additional tables in power query that grouped the by the id and min date, and then the id and max date, and i used these two tables by merging with them to bring back the rows i was interested in, assuming this scenario always works. Obviously if you can push this logic back if your data is really big to a system that has good compute, but if you working with small amounts of data and you dont have access to a database, this should work ok.
see attached
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
132 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
203 | |
141 | |
107 | |
73 | |
70 |