Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi everyone,
I have a question regarding the use of 2 parameters using the List.Generate function. I have an understanding of how pagination works with just using the page variable but using both a page and datetime parameter is a little more complex.
= List.Generate(()=>
[Result = try fRecordsFD(1) otherwise null, Page=1],
each [Result]<>null,
each [Result = try fRecordsFD([Page]+1) otherwise null, Page=[Page]+1],
each [Result])
Ideally, I'd like to pull the dates from a table which uses dates from every 6 months.
Thanks!
List.Generrate has 4 parameters. fRecordsFD seems to be your own custom function?
Please provide your starting data, your existing code and the result you are looking for...
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 4 |