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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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