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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
InesaL
Regular Visitor

How to create comparison visualisations based on 2 data models.

Hi all!
I have to compare the current week's values with those from 2 weeks ago. The variables/columns in these 2 datasets are the same. Consequently, I have 2 similar data models. How to create a visualisation that compares, for example, the number of items per category from 2 weeks ago and from the current week?
Should I unify somehow these 2 data models?
Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @InesaL ,

To compare the number of items per category from two different data models in Power BI, you can use the "Append Queries" feature to combine the two data models into a single table.

Append queries - Power Query | Microsoft Learn

Note that if the columns in the two data models have different names, you will need to rename them before appending the tables. Also, make sure that the data types of the columns match in both tables.

 

You can create a scatter plot in Power BI to compare the number of items per category from two different datasets.

Current Week = SUM('Current Week'[Number of Items])
Two Weeks Ago = SUM('Two Weeks Ago'[Number of Items])

You can add these measures to the scatter plot as X and Y axes.

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

2 REPLIES 2
Anonymous
Not applicable

Hi @InesaL ,

To compare the number of items per category from two different data models in Power BI, you can use the "Append Queries" feature to combine the two data models into a single table.

Append queries - Power Query | Microsoft Learn

Note that if the columns in the two data models have different names, you will need to rename them before appending the tables. Also, make sure that the data types of the columns match in both tables.

 

You can create a scatter plot in Power BI to compare the number of items per category from two different datasets.

Current Week = SUM('Current Week'[Number of Items])
Two Weeks Ago = SUM('Two Weeks Ago'[Number of Items])

You can add these measures to the scatter plot as X and Y axes.

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

johnyip
Solution Sage
Solution Sage

Just load all those dataset in your pibx, and establish relationships that exists between the tables in the same dataset.

You should have two stanfalone datasets in your pibx by then.

 

After that, depending on you data and need, create some calculated columns / measures that meet your needs.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.