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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
User | Count |
---|---|
97 | |
77 | |
77 | |
48 | |
26 |