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 moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello everyone,
I need your help please, I have a table with several IDs and for each ID, I have several dates and timestamp and values, normally, I should have for each ID -rows for each hour, but I miss some hours.
So, for those missing hours I need to add in Power Query the missing rows and the values to be taken from last time we had a timestamp.
For example: if I have a row for 6/1/2024 1:00 AM and the next row is 6/2/2024 3:00 PM, I need to add the missing rows for each hour between this interval and the values to be taken from 6/1/2024.
Many thanks.
Solved! Go to Solution.
Hi @Anonymous ,
Here are the steps you can follow:
1. Create a datetable.
2. Copy -- Table.
Select [Date] and [Value] – Remove Columns.
Select [ID] – Remove Rows – Remove Duplicates.
3. Add Column – Custom Column – Enter Date table name “Date”.
4. Home – Merge Queries -- Merge Queries.
5. Select [Table] – [Value].
Select [Table.Value] – Fill Down
6. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
Here are the steps you can follow:
1. Create a datetable.
2. Copy -- Table.
Select [Date] and [Value] – Remove Columns.
Select [ID] – Remove Rows – Remove Duplicates.
3. Add Column – Custom Column – Enter Date table name “Date”.
4. Home – Merge Queries -- Merge Queries.
5. Select [Table] – [Value].
Select [Table.Value] – Fill Down
6. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
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 |
|---|---|
| 34 | |
| 26 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 65 | |
| 35 | |
| 32 | |
| 25 | |
| 23 |