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
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
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
Top Kudoed Authors