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
CJANE
Helper I
Helper I

Joining Dates - Creating Column or Row

I have the following two tables

Fund

Fund IDTermination Date
A6/25/2019
B6/24/2019

 

FUND EVALUATION

FUND IDUnitsPriceEffective Date
A500106/21/2019
A10096/24/2019
A100076/25/2019
B60066/21/2019
B800026/24/2019

 

I need help creating a measure or column that will calculate the market value of a fund at termination date.  To do this I need to join the date in the Fund and Fund Evaluation table.  How would I go about calculating the following

 

Fund A:  1000*7 = 7000

Fund B:  8000*2 = 16000

1 REPLY 1
Anonymous
Not applicable

 

 

First step is to merge the queries on the Fund ID column. Select merge queries while you are viewing the Fund Evaluation table in the query editor. Expand it out so you can view the termination date.

 

pbi merge.PNG

 

 

 

 

 

Next, add a new column and input the formula:

 

Column = if( 'Fund Evaluation'[Effective Date] = 'Fund Evaluation'[Fund.Termination Date], 'Fund Evaluation'[Units] * 'Fund Evaluation'[Price], 0)

 
pbi calc.PNG
 
This should provide what you are looking for. Let me know if this helps of not.

 

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.