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

>= value lookup dax?

Capture.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

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 III
Super User III

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors