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
PBI_Q
New Member

Last 10 calls

Hi All,

 

I am woring on a Report to analyze calls and their details.. where we have calls shown hourly, daily and monthly basis..

 

I have a requirement, where I need to create reports for last 10 - 10 calls in a periodical manner.. 

 

I am looking for a DAX query for that and would appreciate help on that.. 

 

Thanks

 

 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @PBI_Q 

You can sort the data based on the date/time column and add an Index column in PQ.

Then you can try to get the result table using the function TopN.

 

Result Table = TOPN(10,'Table',[Index Column],DESC)

 

 

Best Regards,
Community Support Team _ Eason

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @PBI_Q 

You can sort the data based on the date/time column and add an Index column in PQ.

Then you can try to get the result table using the function TopN.

 

Result Table = TOPN(10,'Table',[Index Column],DESC)

 

 

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@PBI_Q , The information you have provided is not making the problem clear to me. Can you please explain with an example.

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.


 

Column Rank can help For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.