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

DAX help to find difference in data

Need a help for the below ...

I have the below data in a table with 2 columns ...imported from an excel file... ( No sql server etc, but using excel import as powerbi dataset)

Now a simple report I want as a powerbi dashboard view, which will need to show the additions and deletions ... basis feb22 rows vs Jan22 rows...

 

Needed output like this...

 

Added

XYZ

 

Deleted

ABC

JKL

 

 

BASE DATE in table...

 

Jan22  ABC

Jan22  DEF

Jan22  GHI

Jan22  JKL

 

Feb22 DEF

Feb22 GHI

Feb22 XYZ

 

4 REPLIES 4
Anonymous
Not applicable

HI @HariPower,

Did these records directly replace and update your data source or append after original records?
If you mean the first one, current power bi does not include historical data analysis feather to cache history data and compare it with current records.

If you mean the second one, you can use the date as the group to filter records, then you can use except function to get the different records.

EXCEPT function (DAX) - DAX | Microsoft Docs

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@HariPower , refer my customer Retention, that can help. You can create a date using the month year if needed. here you can use a count or a column as a measure (sales/net in blog). Customer is your second column

 

Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

HI Amit, using your customer solution, I could implement what is required.  Just took example of 3 measures from your implementation, worked around and done.  Thanks for guidance...

Thanks Amit, checking your report if that implementation suits my purpose...one thing sure I understood is that dates table should be part of my ask to enable what I want...thx

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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