This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Good Afternoon
I have a table which contains data like the below. Some of the completed by fields are blank and i need to fill them in. If the order number is the same then it will be completed by the same person.
| Date | Order Number | Review Type | Completed by |
| 31/01/2023 | 123 | First | 2589 |
| 31/01/2023 | 123 | Second | |
| 31/01/2023 | 234 | First | 1116 |
| 31/01/2023 | 234 | Second | 1116 |
In the above example i need a way of copying the completed by into the row below.
Solved! Go to Solution.
Hi, @maurcoll
add new column using below dax
just adjust your table and column name
Column =
var a = 'Table (5)'[Order Number]
var b = var a = 'Table (5)'[Order Number]
var b = 'Table (5)'[Date]
var c = MAXX(FILTER('Table (5)','Table (5)'[Order Number]=a && 'Table (5)'[Date]=b),'Table (5)'[Completed by])
return
IF('Table (5)'[Completed by]=BLANK(),c,'Table (5)'[Completed by])
and try this
Table.Group(#"Changed Type", {"Order Number"}, {{"Count", each Table.FillDown(_,{"Completed by"})}})
watch my video and find out how to do this in power query
That has worked thank you
Hi, @maurcoll
add new column using below dax
just adjust your table and column name
Column =
var a = 'Table (5)'[Order Number]
var b = var a = 'Table (5)'[Order Number]
var b = 'Table (5)'[Date]
var c = MAXX(FILTER('Table (5)','Table (5)'[Order Number]=a && 'Table (5)'[Date]=b),'Table (5)'[Completed by])
return
IF('Table (5)'[Completed by]=BLANK(),c,'Table (5)'[Completed by])
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 32 | |
| 31 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 27 | |
| 22 |