This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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
Check out the May 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 |
|---|---|
| 32 | |
| 25 | |
| 24 | |
| 24 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 24 | |
| 19 |