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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Calculating across tables

Hello, Newbie question.
I have 2 queries from two datasources. I can merge these 2 queries and display the result like this
Cat, Value from T1 Value from T2

Cat1     100          110

Cat 2    100          100

Cat 3    120          100

 

I want to add column Delta which should be Value fromT2 - Value from T1

Then filter on that to retain Delta <> 0

Seems simple but I cannot get it to work.

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@hi @Anonymous

 

Table Structure and RelationshipTable Structure and RelationshipCreate a measure "Delta"Create a measure "Delta""This is table Values and Visual Filter"This is table Values and Visual Filter




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@hi @Anonymous

 

Table Structure and RelationshipTable Structure and RelationshipCreate a measure "Delta"Create a measure "Delta""This is table Values and Visual Filter"This is table Values and Visual Filter




Lima - Peru
Anonymous
Not applicable

thanks Victor, this works fine and get me started.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.