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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.