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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
)

 

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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