cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

>= value lookup dax?

Capture.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User V
Super User V

Re: >= value lookup dax?

Hi @Yog ,

 

Try to add the following column to table 2:

 

Price =
CALCULATE (
    FIRSTNONBLANK ( Table1[Price]; 1 );
    FILTER (
        Table1;
        Table1[Date] >= Table2[Date]
            && Table1[Item ID] = Table2[Item ID]
    )
)

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog:

Power BI em Português





View solution in original post

2 REPLIES 2
Highlighted
Super User V
Super User V

Re: >= value lookup dax?

Hi @Yog ,

 

Try to add the following column to table 2:

 

Price =
CALCULATE (
    FIRSTNONBLANK ( Table1[Price]; 1 );
    FILTER (
        Table1;
        Table1[Date] >= Table2[Date]
            && Table1[Item ID] = Table2[Item ID]
    )
)

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog:

Power BI em Português





View solution in original post

Highlighted
Frequent Visitor

Re: >= value lookup dax?

Yes, works perfectly fine. thank you very much 🙂

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors