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
TCavins
Helper V
Helper V

Display Nth value

I have a table displaying Person, Company and Number of Meetings. I have a measure that counts the number of meetings and that measure is in a filter so the table only displays people that have 10 or more meetings. The measure is a DISTINCTCOUNT on the Meeting Date. So in the table it displays the count for that person and that company.

 

Person, Company, Meeting Count

1, A, 15
2, B, 31

3, A, 14

etc

 

What I'd like to do is for those people that have 10 or more meetings is to also show the date of the 10th meeting in the table. I'm not sure how to go about getting that.

 

Sample Data

Person| Company | Meeting Date

1         | A              | 1/1/2001

1         | A             | 1/10/2001

2         | A              | 1/11/2001

2         | C              | 1/13/2001

3         | D              | 1/14/2001

4         | A              | 1/15/2001

 

 

4 REPLIES 4
v-lili6-msft
Community Support
Community Support

hi  @TCavins 

For show the date of the 10th meeting, create a measure as below:

10th meetingdate= IF(RANKX(FILTER(ALLSELECTED('Table'),'Table'[Person]=MAX('Table'[Person])),CALCULATE(MAX('Table'[Meeting Date])),,ASC)=2,CALCULATE(MAX('Table'[Meeting Date])))

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Lin, when I add this to my table that already has Person, Company and a measure for number of meetings, the value is blank for every row.

camargos88
Community Champion
Community Champion

Hi @TCavins ,

 

Check if this works for you:

Capture.PNG

 

If you consider it as a solution, please mark as a solution and kudos.

Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



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.