Forum Discussion
lucioxiii
Oct 27, 2021Copper Contributor
Pivot table - Use count function based on Ranking
Hi, Is there a way in pivot table based on the ranking values to count the number of times an item has appeared in the top 5 for last 4 weeks? I am trying to achieve the far right column belo...
lucioxiii
Oct 28, 2021Copper Contributor
I am working in a pivot table. So using the Pivot table ranking feature (as explained in this https://tanducits.com/tips-and-tricks/adding-rank-in-pivot-tables-in-excel#1 for 2010 versions and above). The pivot table sources is a table within the workbook.
Hope this is the information you were after.
SergeiBaklan
Oct 28, 2021Diamond Contributor
If that's PivotTable shown in initial post, when creating PivotTable add data to data model and play with explicit DAX measures instead of default implicit aggregation. Basic is here Use of RANKX in Power BI measures - SQLBI, rest depends on concrete model.
- lucioxiiiOct 29, 2021Copper ContributorThank you, that helps with getting the Ranks however, how do I go about adding the column that will evaluate the ranks and count the number of times an item has appeared in top 5 for the last 4 weeks?