Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Solved! Go to Solution.
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.
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.
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.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |