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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Praju_shu
Frequent Visitor

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
v-kaiyue-msft
Community Support
Community Support

Hi @Praju_shu ,

 

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
v-kaiyue-msft
Community Support
Community Support

Hi @Praju_shu ,

 

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
Praju_shu
Frequent Visitor

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

Ok . Thank You

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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