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
PaulCo
Helper II
Helper II

Cumulative Formula Measure

I've read some of the other threads and have tried to apply to my dashboard but am having troubles with the Formula. 

 

I am trying to count the number of registrations that we have over a period of time so that I can plot the cumulative numbers on a graph. 

 

Table Name = Stratas_SC_Registration_Prod

Date Field = [Supplier Registered Date]

 

This is the formula that I tried:

Cumulative Registrations = CALCULATE (Count(Stratas_SC_Registration_Prod [Supplier Company Name]), FILTER(ALL(Stratas_SC_Registration_Prod[Supplier Registered Date].[Date]),Stratas_SC_Registration_Prod[Supplier Registered Date].[Date] <= MAX (Stratas_SC_Registration_Prod[Supplier Registered Date])))

 

However this only returned the same values to me. Can someone point out where I am going wrong? 

 

Thanks

Paul

1 ACCEPTED SOLUTION
mow700
Resolver I
Resolver I

Have you reviewed the dax pattern for this yet?  I found this article very helpful personally.  

http://www.daxpatterns.com/cumulative-total/

 

Perhaps you are looking for the distinct count?

 CALCULATE ( DISTINCTCOUNT(Stratas_SC_Registration_Prod [Supplier Company Name])....

 

View solution in original post

2 REPLIES 2
mow700
Resolver I
Resolver I

Have you reviewed the dax pattern for this yet?  I found this article very helpful personally.  

http://www.daxpatterns.com/cumulative-total/

 

Perhaps you are looking for the distinct count?

 CALCULATE ( DISTINCTCOUNT(Stratas_SC_Registration_Prod [Supplier Company Name])....

 

Thanks, I managed to work it out using the link.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

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.