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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.