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

Data Quality Flags triggered if not:• Last date > Yesterday's date Could you please help me.

Data Quality Flags triggered if not:
• Last date > Yesterday's date

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Based on your description, I created these data.

vkaiyuemsft_0-1723430986112.png


Create measure to determine if the current date is greater than yesterday's date.

DataQualityFlag =
IF (
    MAX ( 'Table'[Flag] ) = 0,
    IF ( MAX ( 'Table'[LastDate] ) > TODAY () - 1, "Valid" )
)

vkaiyuemsft_1-1723431010830.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

Based on your description, I created these data.

vkaiyuemsft_0-1723430986112.png


Create measure to determine if the current date is greater than yesterday's date.

DataQualityFlag =
IF (
    MAX ( 'Table'[Flag] ) = 0,
    IF ( MAX ( 'Table'[LastDate] ) > TODAY () - 1, "Valid" )
)

vkaiyuemsft_1-1723431010830.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

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

SachinNandanwar
Super User
Super User

Then would be quite difficult to provide a solution if you dont have any explaination or sample data related to your ask.

Please go though this link

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...



Regards,
Sachin
Check out my Blog
Anonymous
Not applicable

I dont have sample data . I need the calculation for this  last date > yesterday date 

SachinNandanwar
Super User
Super User

Not sure what the ask is here.

Can you please post some sample data and the expected output ?



Regards,
Sachin
Check out my Blog
Anonymous
Not applicable

Ok . Thank You

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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