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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
eblake
Frequent Visitor

Calculated Field Between Two tabales

I have 2 tables which have the same column headings. One is a snapshot of data taken at the start of the month and one is a snapshot taken at the start of every week.

 

I am looking to have a calculated field that gives the difference between the two tables for one of the columns. I have inserted a screenshot of the table relationships.

 

I am looking to calculate:

'Curr Month Snap FY'[Start of Month Revenue] - 'Curr Week Snap FY'[Start of Week Revenue]

 

Any help would be appreciated.

 

Table Relationship.PNG

1 ACCEPTED SOLUTION
jahida
Impactful Individual
Impactful Individual

Don't think a merge is a good idea here, would create a TON of unnecessary data.

 

I'd recommend making that as a measure (don't know what table to house it in, doesn't matter much):

 

Difference = SUM('Curr Month Snap FY'[Start of Month Revenue]) - SUM('Curr Week Snap FY'[Start of Week Revenue])

View solution in original post

3 REPLIES 3
jahida
Impactful Individual
Impactful Individual

Don't think a merge is a good idea here, would create a TON of unnecessary data.

 

I'd recommend making that as a measure (don't know what table to house it in, doesn't matter much):

 

Difference = SUM('Curr Month Snap FY'[Start of Month Revenue]) - SUM('Curr Week Snap FY'[Start of Week Revenue])

point taken

www.CahabaData.com
CahabaData
Memorable Member
Memorable Member

As i interpret your post:  In query Editor you would merge the tables to join them, and then make a calculated column.

www.CahabaData.com

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.

Users online (3,165)