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
Anonymous
Not applicable

How to compare data between two different data sets in Power BI?

Hi All,

First time poster so please bear with me

I have two data sets e,g (May file and June file)  which includes actuals and forecast figures which are updated on a monthly basis. 

 

I would like to compare the the two data sets in Power BI to be able to analyse it, for example show YOU and be able to visualise it.  Below is an example of the data set

 

Thanks for your help

 sample data set.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Ahh,

 

I was a little slow to it, I completely understand what you mean and that should work. 

 

Will do that now!!

Thanks for your help

View solution in original post

7 REPLIES 7
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

You can use Merge Queries in Query editor, joining on all the fields but the once you need to compare.


Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski


 

Omega
Impactful Individual
Impactful Individual

Create a column left to date and call it Month of Load. In the column add the months you are trying to compare. Then, append both tables to generate one table 🙂 

Anonymous
Not applicable

Thanks, 

 

 

This has worked, how would I do  a YOY comparison on it?


@Omega wrote:

Create a column left to date and call it Month of Load. In the column add the months you are trying to compare. Then, append both tables to generate one table 🙂 


 

Omega
Impactful Individual
Impactful Individual

You need to add a new column that contains the year and use sameperiodlastyear function to calculate your YoY 🙂

Anonymous
Not applicable

If I append the table, how am I able to seperate the different data sets since almost everything will almost be identical. I need to be able to compare the whole year's gross in the May data against the same in the June data against variables like in the case of say month or client.

Omega
Impactful Individual
Impactful Individual

That's why I mentioned to create a new column which will help you seperate both datasets 🙂

Anonymous
Not applicable

Ahh,

 

I was a little slow to it, I completely understand what you mean and that should work. 

 

Will do that now!!

Thanks for your help

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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