Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi Team,
I would like to design a table in Power bi report which will have dynamic column header with years.
How to get dynamic year using power query.
Year(Today()) - shows error.
Solved! Go to Solution.
Hey,
you can use this PowerQuery function to get the Year-part from the Today-Date:
Date.Year(DateTime.LocalNow())
Hopefully this gets you started
Regards
Tom
Hey,
you can use this PowerQuery function to get the Year-part from the Today-Date:
Date.Year(DateTime.LocalNow())
Hopefully this gets you started
Regards
Tom
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 120 | |
| 38 | |
| 36 | |
| 29 |