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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ganes
Helper I
Helper I

DAX to find count of new Ids and deleted ids from a Timeseries data

I have a table called mytable with  2 colum's Report_Date and id.
Every week few new ids gets added and few gets deleted.
I want to get the count of ids that are newly added for each specific date  in the Report_Date colum.
I want to get the count of ids that are deleted for each specific date  in the Report_Date colum.

I have uploaded the raw data mytable.pbix file for reference here
https://onedrive.live.com/?authkey=%21AC7wjU%5FAXMZtThA&cid=82C96F93A7FA75E9&id=82C96F93A7FA75E9%211...


Below is the snap of Desired Result

ganes_0-1679080385434.png

 

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1679104779646.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

3 REPLIES 3
ganes
Helper I
Helper I

Hi @CNENFRNL 

Could you please explain the logic you used. I tried to use same logic for last 3 days period instead of weekly but it is not returning correct values.

CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1679104779646.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Hi @CNENFRNL 

Thanks a lot. I am grateful for your help 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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