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
munirathnam
Helper I
Helper I

Need help in compare selected file with history files

Hi All,

 

Need you tips and tricks to achieve the below requirement.

I have HR Data for 5Months.

1. If a user select any month from slicer, need to compare the selected month file with history files (with any selected files).

 

Thanks in advance!

 

Thanks,

Muni.

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @munirathnam ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1615880790649.pngv-lionel-msft_1-1615880805038.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-lionel-msft
Community Support
Community Support

Hi @munirathnam ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1615880790649.pngv-lionel-msft_1-1615880805038.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@munirathnam , refer if these two can help

https://community.powerbi.com/t5/Desktop/Retain-file-name-column-when-using-Folder-as-a-data-source-...

https://www.sqlservercentral.com/blogs/include-file-name-in-content-using-power-query

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
amitchandak
Super User
Super User

@munirathnam , can you share the data structure, How history files are loaded in power bi.

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

@amitchandak, Thanks for your time.

I have files in one folder, i selected Folder in Get Data and provided the path then loaded. All files loaded into desktop.

We have filename column, where we can file for particular file. (file name: abed_IT202012_IT.xlsx)

 

Thanks,

Muni.

Hi @munirathnam ,

 

Is it liek this? What is your expected output?

v-lionel-msft_0-1615276697374.png

Is this what you want?

v-lionel-msft_1-1615276766707.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hi v-lionel-msft,

 

Thanks for you time!

No,I want to Compare current file with selected file (previous months) Line by Line.

Hope you got the requirement.

 

Best Regards,

Muni.

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.

Top Solution Authors