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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Patv
Helper II
Helper II

YTD calculations or Running Sum

Hello Friends/experts, 

 

I have a requirement to create a Bar/Line chart with like Active projects per month.  and I have created  three measures to do so..

 

1. VAR_NUMBER_PROJECTS_CREATED = CALCULATE(COUNT(GP_PROJ_JEP_OPEN_CLOSE_COUNT_V[REQUEST_ID]),FILTER(GP_PROJ_JEP_OPEN_CLOSE_COUNT_V,GP_PROJ_JEP_OPEN_CLOSE_COUNT_V[CATEGORY]="GeneralProjects_Created"))

 

 

2. VAR_NUMBER_PROJECTS_CLOSED = CALCULATE(COUNT(GP_PROJ_JEP_OPEN_CLOSE_COUNT_V[REQUEST_ID]),FILTER(GP_PROJ_JEP_OPEN_CLOSE_COUNT_V,GP_PROJ_JEP_OPEN_CLOSE_COUNT_V[CATEGORY]="GeneralProjects_Closed"))

 

3. VAR_ACTIVE_PROJECTS_GOOD =

[VAR_NUMBER_PROJECTS_CREATED] - [VAR_NUMBER_PROJECTS_CLOSED]

 

 

if you see the line in  below chart ( attached), there are 17 PMATT projects for April 2022, 8 PMATT projects in May 2022 , 3 pmatt projects in June 2022, etc... 

 

My requirement is to show PMATT projects like below..    

for April 2022 = 17

for May 2022 = 25 ( 17+8)

for June 2022 = 28 (17+8+3)

for July 2022 = 36 ( 17+8+3+7) 

etc...

 

 

pic1.png

 

How do I achive it?  please send me formulas if possible so I can understand it .Thank you so much.!

 

-Vpat

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@Patv Timely, I just posted this: https://community.powerbi.com/t5/Quick-Measures-Gallery/Better-Running-Total/td-p/2755666



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@Patv Timely, I just posted this: https://community.powerbi.com/t5/Quick-Measures-Gallery/Better-Running-Total/td-p/2755666



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you Greg_Decklet. Your solution works. Appricate your help.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors