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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Getting last value by combining two filters

Hello to all

 

I have the following historical table:

Id   Date             issueid    Release   LastRelease
1    2017-10-12    2              1               False
2    2017-11-12    3              1               False
3    2017-12-12    3              2               True
4    2017-10-12    4              2                True
5    2017-11-12    5              2                True
6    2017-12-12    5              3               False
7    2017-11-12    6              3               False
8    2017-12-12    7              4               False

 

What I need is to display a table to display the issueid.
In the case above I would like to display to release 2 (Release true):

issueid
3

4

 

Because in fact 5 was moved to Release 3 and it should not be displayed.

 

I'm able to make a table but 5 keeps showing... because in fact we have a True in the list. 

 

Any ideias?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Zubair_Muhammad Thanks for the reply

 

I'm getting a duplicate dates in last date... which is correct because I can get the same date for different issueid.

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous

 

Try this calculated table

 

From the Modelling Tab >>>New Table

 

Table =
FILTER (
    SUMMARIZE (
        Table1,
        Table1[ issueid],
        "Status", CALCULATE ( VALUES ( Table1[LastRelease] ), LASTDATE ( Table1[Date] ) )
    ),
    [Status] = TRUE
)

 


Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

@Zubair_Muhammad Thanks for the reply

 

I'm getting a duplicate dates in last date... which is correct because I can get the same date for different issueid.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.