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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
APeterson2014
Frequent Visitor

Can I create a column demonstrating change between two tables?

Hey all,

 

I'm having some trouble in demonstrating change between a filtered value and the unfiltered value, and I want to show the changes by using 2 tables (both using the same data source):


Table 1 shows the average sales by year (lets call this X). It gets the average by adding the sales of 3 individuals' values and dividing by 3, so the value is a measure.

 

Then I have some slicers below that show each sales person's name. These slicers do not apply to Table 1, but only apply to table 2.

 

Table 2 shows the same sales values but filtered by each slicer (lets call this Y). 

I'm trying to get a new measure of the filtered value minus the unfiltered value (Y - X), preferably in the column next to the filtered value in Table 2. If there's a way to demonstrate the change by using a card or some other visual, that would also work, but I'd prefer it to just be a value in a column in table 2.

 

I've attached a sample I did in Excel. Any help would be EXTREMELY appreciated!

 

Thanks 

 

 


Change in Table Value Example.png

 

The highlighted column is what I'm trying to produce as Y-X or filtered value minus unfiltered value. If there were no filters selected it should be 0 each time.

 

@amitchandak @lbendlin @parry2k @Greg_Deckler

 

2 REPLIES 2
TomMartens
Super User
Super User

Hey @APeterson2014 ,

 

provide the structure of table 2, this is important to understand how the "filtering" is working. Consider uploading the Excel file you created to onedrive, google drive, or dropbox.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hey @TomMartens ,

 

I'm actually working with some sensitive data that I can't share and the excel sheet was just a template to show an example.

 

Both tables are created using the Import feature of PowerQuery from a SQL server and are essentially duplicates. I added a slicer to only effect Table 2, and am trying to add columns that demonstrate the change.

 

So "Sales" for year 2021 starts out as 50,000 in both tables, with the new column being +0.

 

When I click the slicer button to filter sales for table 2, it shows 30,000, with the new column being -20,000.


Hopefully this helps.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors