Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Dear all,
I recently created a calendar table with the CALENDARAUTO() function for my PowerBI report. However, I'm not very good with DAX and I followed a youtube tutorial in order to create it. I tried to insert a column that would give me the month and year. I tried something as you can see on the attached screenshot but it doesn't work. Can anyone tell me what to write?
Thank you very much in advance.
Solved! Go to Solution.
It needs to be YEAR([Date]) & MONTH([Date]).
The single & is the operator to append strings, the double && is a logical AND.
Thank you, it worked !
It needs to be YEAR([Date]) & MONTH([Date]).
The single & is the operator to append strings, the double && is a logical AND.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
11 | |
8 |