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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Matrix/Pivot with sum per year

I have this table :

 

round23_0-1622805103317.png

and I would like to sum up every item per year so it would look like this

 

round23_1-1622805196878.png

I tried with matrix and extra measure but I am just geeting empty cells in matrix.

Please help 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , You can have year column of date table with year column or use [Date].year

 

Year = Year([Date])

 

You can use that in the column, item on row, and the sum of price on values in a matrix.

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

View solution in original post

Singaravelu_R
Resolver III
Resolver III

All calculated column Year 

Singaravelu_R_0-1622807543194.png

and do the matrix as per below screenshot,

 

Singaravelu_R_1-1622807583997.png

 

View solution in original post

2 REPLIES 2
Singaravelu_R
Resolver III
Resolver III

All calculated column Year 

Singaravelu_R_0-1622807543194.png

and do the matrix as per below screenshot,

 

Singaravelu_R_1-1622807583997.png

 

amitchandak
Super User
Super User

@Anonymous , You can have year column of date table with year column or use [Date].year

 

Year = Year([Date])

 

You can use that in the column, item on row, and the sum of price on values in a matrix.

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.