Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi community!
I have a table like this
| Article | Department | Country | Group | Date |
| A | A1 | A1A | A1AA | 01.01.2023 |
Since there are multiple values for the same Article I would like to get only the first one.
How would you do that?
Using Group by? If so, how?
Solved! Go to Solution.
@joshua1990 Like this:
This is the M code generated:
#"Grouped Rows" = Table.Group(#"Changed Type", {"Article", "Department", "Country", "Group"}, {{"Date", each List.Min([Date]), type nullable date}})
@joshua1990 Like this:
This is the M code generated:
#"Grouped Rows" = Table.Group(#"Changed Type", {"Article", "Department", "Country", "Group"}, {{"Date", each List.Min([Date]), type nullable date}})
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |