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! Learn more

Reply
Anonymous
Not applicable

Calculated Column to Check Repeat Failed User

Hi,

I want to create a calculated column to check users that failed for a second or more time in a month.

The first time they failed wont count as repeat but any other month after that will count as repeat.

 

aidelapplicate_0-1689316422256.png


i am new to this please help.

1 ACCEPTED SOLUTION
SamInogic
Super User
Super User

Hi @Anonymous ,

We have considered below table as mentioned in your requirement,

SamInogic_0-1689318957522.png

You can use below DAX expression to create new calculated column in your table,

StatusResult = IF(CALCULATE( COUNT(UserTbl[Result]), FILTER( UserTbl, UserTbl[Month]= EARLIER(UserTbl[Month]) && UserTbl[Result] ="Failed" )) > 1, "Repeat", "Non Repeat" )

Please refer to the below screenshot for the result.

SamInogic_1-1689318986725.png


Thanks!

Inogic Professional Services Division

Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!

Drop an email at crm@inogic.com

Services:  http://www.inogic.com/services/

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/

View solution in original post

1 REPLY 1
SamInogic
Super User
Super User

Hi @Anonymous ,

We have considered below table as mentioned in your requirement,

SamInogic_0-1689318957522.png

You can use below DAX expression to create new calculated column in your table,

StatusResult = IF(CALCULATE( COUNT(UserTbl[Result]), FILTER( UserTbl, UserTbl[Month]= EARLIER(UserTbl[Month]) && UserTbl[Result] ="Failed" )) > 1, "Repeat", "Non Repeat" )

Please refer to the below screenshot for the result.

SamInogic_1-1689318986725.png


Thanks!

Inogic Professional Services Division

Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!

Drop an email at crm@inogic.com

Services:  http://www.inogic.com/services/

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/

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.

Top Solution Authors