Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hello All,
Having difficulties with a table. I need to reduce its size to increase performance by selectively removing duplicates. Ideally I would like to do this via PowerQuery. If I must a calculated table would work. Here is a sample of the data. What I am hoping to do is to remove each duplicate in the "Cost" column for each consecutive date for each item. In the table below I indicate the entries that should be removed. The table is currently 350,000 rows and I think it can be reduced to under 100,000. It feeds a complicated dax query that takes a long time to run against such a large table. Please advise.
| Data: | Result: | |||||
| Item No. | Date | Cost | Item No. | Date | Cost | |
| 11111 | 1/1/2020 | 10 | 11111 | 1/1/2020 | 10 | |
| 11111 | 3/1/2020 | 11 | ||||
| 11111 | 3/1/2020 | 11 | 11111 | 7/1/2020 | 12 | |
| 11111 | 9/1/2020 | 13 | ||||
| 22222 | 1/1/2020 | 9 | ||||
| 22222 | 2/1/2020 | 8 | ||||
| 11111 | 7/1/2020 | 12 | 22222 | 4/1/2020 | 10 | |
| 22222 | 9/1/2020 | 12 | ||||
| 11111 | 9/1/2020 | 13 | ||||
| 22222 | 1/1/2020 | 9 | ||||
| 22222 | 2/1/2020 | 8 | ||||
| 22222 | 4/1/2020 | 10 | ||||
| 22222 | 9/1/2020 | 12 |
Solved! Go to Solution.
Looks like I found the solution in this tutorial:
Cheers.
Hi, @Anonymous
It's pleasant that your problem has been solved.
Thanks for your sharing.
Best Regards,
Community Support Team _ Eason
Looks like I found the solution in this tutorial:
Cheers.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |