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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

CountIFs for Data Integrity Report

I currently have an excel report that has multiple countifs for each data integrity check. What would be the best way to recreate this in BI? How would I recreate the countifs ? Measures for each 'Integrity Check'? Sample file attached. 

 

tragaller_2-1602616734975.png

 

Result of check #1 = 2 jobs meet criteria 

 

tragaller_3-1602616925734.png

 

 

1 ACCEPTED SOLUTION

@Anonymous 

 

The above formula that i wrote is a measure not a column.

 

So create a new measure and add the formula

View solution in original post

3 REPLIES 3
themistoklis
Community Champion
Community Champion

@Anonymous 

 

See a countif formula below:

 

COUNTIFS =
CALCULATE (
    COUNT( Table[ID]),
    FILTER (
        Table,
        Table[Dim1] = "Value_1"
            && Table[Dim2] = "Value_2"
			&& Table[Dim3] = "Value_3"
    )
)
Anonymous
Not applicable

@themistoklis Can this be done using a measure/calc? Still fairly new to BI and still learning.

@Anonymous 

 

The above formula that i wrote is a measure not a column.

 

So create a new measure and add the formula

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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