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 , I created two calculated columns in DAX by functions Year , Month from date( It is direct query mode!!!!!). But Table where it was calculated is now too large.
Is there equivalent to calculate year, month, from date in Query editor in Direct query mode? An is it faster?
Do you have another idea how to make it faster? Maybe create table calendar in database.
I use thse columns as filter nad that is the problem, You can see empty square and that is exactly filter with calculated column year.
Hi @pstanek,
Assume you connect to SQL Server database, you can get Year and Month columns use T-SQL Query like below:
Also you can use the Date.Year() and Date.Month() function to create columns in Query Editor.
Best Regards,
Qiuyun Yu
Thanks for idea, we are going to fix by spark connection.
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 |
|---|---|
| 27 | |
| 27 | |
| 25 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 56 | |
| 48 | |
| 37 | |
| 21 | |
| 20 |