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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi there
I want to evaluate how many versions per Sales Quotes our company produce in order to achieve a final result.
Business Central adds each "archived" version as a single line to the archives-table, with a row for quote number (which does not change) and a verson number, counting up.
Now I think for my intent I would only need the line per Doc-No. with the highest Version-No.
Is it possible to transform the table to keep only that line per Doc-No. or would I have to keep those and build something else entirely ?
My approach then would be to just add up all version counts. count distinct number of doc-NO and divide and be done with it.
but this doesnt work if I have all lower version numbers inflating the data:
looing forward for any help / suggestion
thanks in advance
@bco_lde , BAsed on what I got
Keep Latest date - Power query (This will remove data)
https://www.youtube.com/watch?v=hidJ5T_DYQ0
https://exceleratorbi.com.au/remove-duplicates-keep-last-record-power-query/
Latest based on DAX measure( no data removal)
https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 52 | |
| 42 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 104 | |
| 39 | |
| 35 | |
| 25 |