Forum Discussion
Anonymous
5 years agoNot applicable
Compare strings in previous month
Hello. I need a DAX Measure to count how many staff employees got promoted into a leadership position. This is what my data looks like. So it would need to return 1 because 101 was staff. 102's promo...
MattAllington
Community Champion
5 years agoPower BI is easy when you prep your data. I would add a conditional column using Power Query to indicate if the Mgr level is considered to be a staff promotion. Then you can write a simple DAX formula
CALCULATE(COUNTROWS(Table),table[promotion]="Promotion",table[new column]="from staff")