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

Dynamicaly Filtered Calculated Table

 

Hello, I have a visualization that looks like this:


Table1.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

And I would need to create  MEASURE called Latest LAPSED Status Date that returns, for each row, the latest date where each Partner had the status of Lapsed.  The result should be a table like this:

 

Table2.JPG

 

 

 

 

 

 

 

 

 

 

 

Could anybody help me withe the DAX Code ?  I would really appreciate it !  

Thanks a lot in advance,

 

Joaquin

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support
Community Support

Re: Dynamicaly Filtered Calculated Table

Hi @johmedrano,


You can try to use below formula to find out last update date of each partner:

Last Update =
CALCULATE (
    MAX (
        Table[Date],
        FILTER (
            ALLSELECTED ( Table ),
            Table[Partner Name] = SELECTEDVALUE ( Table[Partner Name] )
        )
    )
)

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

johmedrano
Frequent Visitor

Re: Dynamicaly Filtered Calculated Table

2 REPLIES 2
Community Support
Community Support

Re: Dynamicaly Filtered Calculated Table

Hi @johmedrano,


You can try to use below formula to find out last update date of each partner:

Last Update =
CALCULATE (
    MAX (
        Table[Date],
        FILTER (
            ALLSELECTED ( Table ),
            Table[Partner Name] = SELECTEDVALUE ( Table[Partner Name] )
        )
    )
)

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

johmedrano
Frequent Visitor

Re: Dynamicaly Filtered Calculated Table

Helpful resources

Announcements
‘Better Together’ T-Shirt Contest – Winner Announced!

‘Better Together’ T-Shirt Contest – Winner Announced!

And the winner is...

Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors