Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Date Code Name Price Partner
| 26.07.2021 | 1819 | NAPA | 14,5 | Firma |
| 06.06.2022 | 1819 | NAPA | 15,2 | Firma |
If there are two different prices in the table, I want to keep only the row with the later date.
Solved! Go to Solution.
Hi @Kylli,
Step1:
GroupBy
Step2:
Replace highlighted code with Table.Max(_,"Date")
Step3:
Expand column
Regads
KT
Hi @Kylli,
Step1:
GroupBy
Step2:
Replace highlighted code with Table.Max(_,"Date")
Step3:
Expand column
Regads
KT
Hey kylli,
sort the the colum date in descending oder.
Write before the formula which ist used For sorting the colums: Table.Buffer
The Formula should Look Like this:
=Table.Buffer(Table.Sort())
In the second step you can select colum date and colum article and remove duplicated rows.
Hi,
Sorry, I didn't make my question clear.
There are many rows in the table. Most have one price per code.
Sometimes there are two or more prices per code.
If there are more prices, the latest in terms of date should be taken into account.
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 |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |