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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I have an API which, given a parameter, give me a start and end date, in years.
| first_date | 2015 |
| last_date | 2023 |
I have a second API, in which i must feed the years that the first API returns, and the years between those years, plus another parameter:
| date | parameter |
| 2015 | A |
| 2016 | A |
| 2017 | A |
| 2018 | A |
| 2019 | A |
| 2020 | A |
| 2021 | A |
| 2022 | A |
| 2023 | A |
For now i'm only using the second API, as i can't automate the creation of the first column in this second table. I believe this can be done with some sort of function, but i've been unable to do so.
Any help on this would be greatly appreciated.
Thanks.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 24 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 46 | |
| 32 | |
| 17 | |
| 17 | |
| 16 |