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

Frequent Visitor

Re: >= value lookup dax?

Yes, works perfectly fine. thank you very much 🙂

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors