Forum Discussion
Top N
- 7 years ago
Anonymous ,
Sorry for the mistake I have made, please change the formula with dax below:
Row Number = COUNTROWS ( FILTER ( IHR, IHR[Column Count of Assignee] <= EARLIER ( IHR[Column Count of Assignee] ) && IHR[Index] <= EARLIER ( IHR[Index] ) ) )Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous ,
You need to build an index column in your table so that you can compare the sequence between rows. Click query editor-> add columns-> index.
Regards,
Jimmy Tao
v-yuta-msft Hey, I tried that..
My calculated column is as follows:
The result i get is as follows:
But a normal table of job titles and count of pernr sorted in descending order shows the top 10 as follows
As shows, the 2 highlighted columns are eliminated in the 2nd visual... Not sure where I am going wrong..
- v-yuta-msft7 years agoCommunity Support
Anonymous ,
Sorry for the mistake I have made, please change the formula with dax below:
Row Number = COUNTROWS ( FILTER ( IHR, IHR[Column Count of Assignee] <= EARLIER ( IHR[Column Count of Assignee] ) && IHR[Index] <= EARLIER ( IHR[Index] ) ) )Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.