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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Count consecutives based on an Criteria

Hello, i would like to count the number of Events that are out of especificacion (IN = 0, OUT = 1), based on time and criteria,

 

For example My variable has criteria for every 3 points out, should be an anomaly, but if is for example 10 consecuite points out, it should also count as 1 anomaly, 

 

VARIABLE

FECHAHORA IHORA F IN = 1, OUT = 0CRITERIA
1/02/202100:0008:002.0903
1/02/202108:0016:003.3303
1/02/202116:0000:002.1303
2/02/202100:0008:004.3413
2/02/202108:0016:003.2903
2/02/202116:0000:008.8113
3/02/202100:0008:009.3713
3/02/202108:0016:005.3713
4 REPLIES 4
stevedep
Memorable Member
Memorable Member

Anonymous
Not applicable

 

 

TEST123.JPG

Anonymous
Not applicable

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.