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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
RDS2017
Frequent Visitor

data comparison powerbi

How to compare two data sets from 2 excel files each representing a different year in power bi?

For example: One excel file from 2023 has types of buildings(tall, short)

another excel file from 2024 has types of buildings(tall, short)

how to display them on one visual types of buildings from 2023 and 2024?

1 ACCEPTED SOLUTION
CoreyP
Solution Sage
Solution Sage

Create a date dimension table and establish a relationship to the date column in each dataset. If the datasets do not have a date column already, create one. 

View solution in original post

3 REPLIES 3
CoreyP
Solution Sage
Solution Sage

Create a date dimension table and establish a relationship to the date column in each dataset. If the datasets do not have a date column already, create one. 

must both relationship from the date table to the data set be active? or one active and the other inactive?

They should both be active. 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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