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
I have two tables, Table 1 with staff number, date1 and charge rate. Table 2 with Staff number and date2. Now i want to create a custom column which extracts the charge rate for all the matching both staff numbers with dates. If the date is not matching I want to lookup at the previous date which contains charge rate in Table 1 and for the furture dates i want to use the latest charge rates from Table 1. I have been using List functions but due to huge data it's taking ages to load.
You need to right click and select "fill down"
To be precise over above data, let's assume the data structure is like
I have a column, Column 1 which has values say 1, null, 3, 6, 9 , null, null, null, 4, 22, 3, 5, null. Now i need to generate a column 2 which should be having values as 1, 1, 3, 6, 9, 9, 9, 9, 4, 22, 3, 5, 5 which means at every null row it takes the non null value just before it. I need to write a power query code for a custom column Column 2 for above
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 42 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 62 | |
| 45 |