Forum Discussion
Anonymous
4 years agoNot applicable
Rewrite Measure
I have the below measure. Employee 5+ Jobs = VAR newtable = ADDCOLUMNS ( SUMMARIZE ( Employees, Employees[Employee Name] ), "@jobcount", CALCULATE ( COUNTROWS ( VALUES ( 'Employees'[Job] ) ...
- 4 years ago
Hi Anonymous ,
Did you mean there's blank value in Job column like this?
If this is the case, you can modify the formula of Rank like this:
Rank = IF ( 'Table'[Job] = BLANK (), BLANK (), RANKX ( FILTER ( 'Table', 'Table'[Date] = EARLIER ( 'Table'[Date] ) && 'Table'[Employee Name] = EARLIER ( 'Table'[Employee Name] ) && 'Table'[Job] <> BLANK () ), 'Table'[Job], , ASC, DENSE ) )Then it can get the correct rank.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
4 years agoSuper User
Anonymous ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- Anonymous4 years agoNot applicable
Hi,
Please see the attached excel document showing a sample piece of demo data and the desired output.
Many thanks