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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
skutovicsakos
Helper I
Helper I

summarize table by first occurance based on filter

 

I want to tell 2 things of each id:

  • first read date (blank if there wasn't any)
  • No. of reads

Sample table for demonstration:

iddateaction

1

09/04/2019 12.55.24create
209/04/2019 12.55.28create
209/04/2019 12.55.32read
209/04/2019 12.55.40read

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @skutovicsakos 

First read = CALCULATE(MIN(Table[date]), ALLEXCEPT(Table, Table[Id]), Table[Action]="read")

and

First read = CALCULATE(COUNTROWS(Table), ALLEXCEPT(Table, Table[Id]), Table[Action]="read")

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

1 REPLY 1
az38
Community Champion
Community Champion

Hi @skutovicsakos 

First read = CALCULATE(MIN(Table[date]), ALLEXCEPT(Table, Table[Id]), Table[Action]="read")

and

First read = CALCULATE(COUNTROWS(Table), ALLEXCEPT(Table, Table[Id]), Table[Action]="read")

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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