Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ChrisPBI
Advocate III
Advocate III

Getting Year from date.

Hello,

 

I try to get only the year from my date.

 

The function YEAR(date) always deliveres me the sum.

 

Only whe I use a table I can say don't summarize.

 

But the column can't be used for any visual this way.

 

Thanks for helping.

 

Regards,

Chris

1 ACCEPTED SOLUTION
jahida
Impactful Individual
Impactful Individual

Ah ok. Try this:

 

Click on the year column in your data model, go to the Modeling tab at the top, and then go to Default Summarization and select "Do Not Summarize". That should solve many of your problems.

Capture2.PNG

Hope that helps!

View solution in original post

3 REPLIES 3
jahida
Impactful Individual
Impactful Individual

Not quite sure what the objective is. YEAR(Date) is definitely the way to get the year of a date, why isn't that working for you? Do you have a particular use case in mind?

Hi,

 

a use case could be to show the total emissions over the years.

 

Here the result:

 

1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

But the result should be a line with the years as X-Axis.

 

I would expect when I do: Release Year = YEAR('Models'[Release Date]) that the resulting column always shows the years without summing everything.

 

Thanks,

Chris

jahida
Impactful Individual
Impactful Individual

Ah ok. Try this:

 

Click on the year column in your data model, go to the Modeling tab at the top, and then go to Default Summarization and select "Do Not Summarize". That should solve many of your problems.

Capture2.PNG

Hope that helps!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.