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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Cepheus
Frequent Visitor

Windows Server Patch Report

Hello Everyone, I have an Excel file with things like comptuer name,  patch id, deployment date, installed status, deployment date etc. I am new to  PowerBI and started using it about a year ago but stopped using it at about the same time when things got busy, more like I forgot about it.

 

This Excel report has multiple rows with the same computer name for patch that has tried to be installed. Installed status column constains values such as failed, installed, deplayed deployment and pending reboot. I would like to come up with a summarization that shows total patches installed (for a given date range if possible), which patches are missing from which computers, the various statuses etc.

 

Any assitance is appreaciated.

2 REPLIES 2
Anonymous
Not applicable

Hi @Cepheus 

 

I ran the following test:

 

My sample:

vxuxinyimsft_0-1705639409729.png

 

1. Create a calculated table as follows

 

Date = VALUES('Table'[deployment date])

 

 

2. Create several measures as follow

 

Sum = 
CALCULATE (
    COUNT ( 'Table'[installed status] ),
    FILTER (
        'Table',
        'Table'[installed status] <> "failed"
            && 'Table'[deployment date] >= MIN ( 'Date'[deployment date] )
            && 'Table'[deployment date] <= MAX ( 'Date'[deployment date] )
    )
)

 

 

 

missingPatch = 
CALCULATE (
    SUM ( 'Table'[patch id] ),
    FILTER (
        'Table',
        'Table'[installed status] = "failed"
            && 'Table'[deployment date] >= MIN ( 'Date'[deployment date] )
            && 'Table'[deployment date] <= MAX ( 'Date'[deployment date] )
    )
)

 

 

vxuxinyimsft_1-1705640185068.png

Is this the result you expect?

 

If I've misunderstood you, please provide detailed sample data and the results you are hoping for: How to provide sample data in the Power BI Forum - Microsoft Fabric Community . Please remove any sensitive data in advance.

 

Best Regards,
Community Support Team _Yuliax

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Cepheus , A measure below should help to respond to the slicers from table and related tables
Total Patches Installed =
CALCULATE(
COUNTROWS('Table'),
filter('Table','Table'[Installed Status] = "installed")
)


Better to create a star schema
Power BI- Power Query: When I asked you to create common tables: https://youtu.be/PqfGW6pl1Sw
Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.