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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Month and year Wise Cumulative Calculation Needed

Hi, 

 

I can calculate Cumulative based on Day Wise, by using the below measures

 

Cumulative =
CALCULATE
( SUM ( table[value] ),
FILTER
(
ALLSELECTED ( table[date] ),
(table[date] <= MAX ( table[date])
)
 
And the result will show like day wise,as below
Mohanraj_0-1655476731292.png

But i dont want day wise , need month and year wise,Example  as below.

Mohanraj_1-1655477019393.png

@amitchandak @Jihwan_Kim @tamerj1 

 
2 REPLIES 2
negi007
Community Champion
Community Champion

@Anonymous  you can create a ytd measure like below

 

YTD_2 = TOTALYTD(SUM('table'[value]), [table].[Date])
 
you can also use new quick measure by right clicking on any of the column like below. There you can create a YTD measure as well.
 
negi007_0-1655479450521.png

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Anonymous
Not applicable

Hi,

No, its not wokring for only Month and year. i need like below,

 

Mohanraj_0-1655735538406.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.