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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
danb
Resolver I
Resolver I

Taking Difference between two columns in a Table Visual (Values from different tables)

Good Morning!

I feel a bit foolish having to ask this question however I am stumped. I have a table visual that I am trying to layer out a budget and then the actual amount spent per account # per period. There are two different tables (my actual spent and original budget tables). I have them connected via account numbers a Fiscal Period. 

 

I have them in a Table visual as such:

Before.png

 

I am trying to add a "$ Delta" and "% Delta" for the difference between the Budget Amount and Actual Spend. I have tried various measures however I am doing something wrong. Here is an example of one formula:

Formula.png

 

The problem is when i add this measure in it blows out the dataset. I can see one row where I see what I am looking for (framed in red) however a whole bunch of extra rows show up as well. 

Error.png

 

Thanks in advance! 

 

Dan

 

1 ACCEPTED SOLUTION

@Icey  - thank you for your response. You are spot on and the issue is being caused by the relationship (or lack thereof). I actually went down the path of merging the two tables together into a new table and solved the issue that way. 

 

Dan

View solution in original post

2 REPLIES 2
Icey
Community Support
Community Support

Hi @danb ,

I make a sample. If your data structure is similar to mine,the measure you create is meaningless. Because the value of 'Budget Amount' is the whole 'Fiscal Period' and the value of 'Actual Spent' is the specific value of each 'Account Description'. They are not one-to-one correspondence in the Table visual. Then you can tell me what do you want to do, so that I can help you better.

Taking Difference between two columns in a Table Visual (Values from different tables) 2 .PNG

Best Regards,

Icey Zhang

 

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

@Icey  - thank you for your response. You are spot on and the issue is being caused by the relationship (or lack thereof). I actually went down the path of merging the two tables together into a new table and solved the issue that way. 

 

Dan

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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