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
bethamsetty
New Member

Comparing id's which are falling previous date to current date

Compare perior day to current day using uniue id if the id was on the prior report but not on the current report count it as closed

is there any extra id's added to the current day that should not be counteddescription of issue.jpg

3 REPLIES 3
BA_Pete
Super User
Super User

Hi @bethamsetty ,

 

Try a measure something like this:

 

_closedToday = 
VAR __yesterday =
CALCULATETABLE(
    VALUES(yourTable[yesterday]),
    NOT ISBLANK(yourTable[yesterday])
)
VAR __today =
CALCULATETABLE(
    VALUES(yourTable[today]),
    NOT ISBLANK(yourTable[today])
)
RETURN
COUNTROWS(
    EXCEPT(
        __yesterday,
        __today
    )
)

 

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Hi Thank you for your help this is not working

 

What's not working? Is there an error? Are you getting a different value than you expect? What?

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




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.