Share via

Maximum Churned Job Title

2023-10-14T12:55:02.6066667+00:00

I am analyzing HR attrition data and trying to make a card visualize the name of the most-churned job title using Calculate (Max). Still, it returns the maximum job title alphabetically instead of ignoring the filters.

MaxChurnedJob = CALCULATE(MAX('HR-Employee-Attrition'[Job Title]),FILTER('HR-Employee-Attrition',[Churned Employees] = MAXX('HR-Employee-Attrition',[churned Employees])))
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

1 answer

Sort by: Most helpful
  1. Olaf Helper 47,621 Reputation points
    2023-10-14T13:06:44.6333333+00:00

    That's a DAX query and absolutely nothing to do with SQL Server; the tag you used.

    It's Power BI and that isn't supported here opn Question&Answer.

    Post on a more related forum => https://community.fabric.microsoft.com/t5/Microsoft-Power-BI-Community/ct-p/powerbi

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.