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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
VedranR
Frequent Visitor

How to get value from other table based on last date

Hi,

 

If someone can help my, I am complete new in PBI.

 

This is situation. I have two tables:

 

Table 1

ID    Date         Value

1     01.01.2021      1

1     10.02.2021      3

2     11.01.2021      1

2     17.02.2021      3

5     15.01.2021      7

5     07.02.2021      2

 

Table 2

ID   Last_Date    Last_Value

1     10.02.2021      ?

2     17.02.2021      ?

3

5     07.02.2021      ?

 

 

How I can get Last_Value in Table 2 from Table 1?

 

Tnx in advance 🙂

 

2 REPLIES 2
jameszhang0805
Resolver IV
Resolver IV

Please try:

jameszhang0805_0-1614388759513.png

if you want to remove the total number

jameszhang0805_1-1614388886335.png

 

 

Sorry, your first solution ignore date and give me first value after maximum value, so that is not last value by date that I needed. Second isn`t work. But thanks for trying 🙂

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.