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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors