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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
erhine1204
New Member

How to calculate a running total of Vulnerabilities?

Hello,

 

For the life of me I cannot figure out how to create a running total trend line of vulnerabilities from my organizations Fortify SAST tool. Below is an example of the data that I am currently exporting into Excel. What I am trying to do is show a running total of vulnerabilities by Severity at an enterprise level for all applications, and then at an individual application level. I would also create trend lines for OWASP status, Developer Status, etc.

 

Example Data

Vuln IDSeverityStatusDeveloper StatusIntroduced DateOWASPApplicationIDReleaseIDCategory
1CriticalFix ValidatedWill Not Fix1/2/2018A11234521212Injection
2CriticalNewWill Not Fix2/6/2019A21234521212Session Mgmt

3

CriticalExistingOpen2/12/2019A232165321321Session Mgmt
4CriticalExistingOpen5/8/2020A332165654654Privacy Violation
5HighNewOpen12/1/2020A9111116546543rd party
6MediumRe-OpenedIn Progress1/16/2021A9111112121213rd party
7LowExistingIn Progress2/3/2021A112345321321Injection

 

I have been able to create the trend line data I am looking for with Excel formulas by running a count of every status every week. Here is an example of the data and trend that I am trying to reproduce in Power BIextrend.png

Any help on this would be greatly appreciated.

 

Thank you,

 

Eric

1 REPLY 1
dedelman_clng
Community Champion
Community Champion

Hi @erhine1204  - 

 

Try this code for your running count:

Running Total =
CALCULATE (
    COUNTROWS ( Vulnerabilities ),
    ALLSELECTED ( Vulnerabilities ),
    FILTER ( ALLSELECTED ( DateTab[Date] ), DateTab[Date] <= MAX ( DateTab[Date] ) )
)

This assumes you have a Calendar table linked to Vulnerabilities based on "Intorduced Date".

 

If this doesn't work, please share DAX that you have tried and/or a copy of your PBIX with sensitive data removed (link to google drive, OneDrive, dropbox, etc)

 

Hope this helps

David

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.