cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Headcount Changes in Waterfall Chart

I'm trying to create a Waterfall visual that shows

  • Hires and re-hires as "Increases"
  • Terminations and retirements as "Decreases"

 

My source data is an Excel spreadsheet showing the names of employees who have been HIRED, RE-HIRED, TERMINATED, OR RETIRED over that past 12 months.

 

Is there a simple way to tell Power BI to treat the HIRES AND RE-HIRES as Increases, and the TERMINATIONS AND RETIREMENTS as Decreases?

 

I've searched in the Power BI Community for solutions on this topic.  Thanks in advance for any assistance you can lend.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you for responding.

 

I found another way that works as well:

 

  • Edit Queries
  • Add Column Tab
  • Add Conditional Column
  • Name the new column Headcount Change
  • Tell the formula to treat Hires and Rehires as 1
  • Tell the formula to treat Terminations and Retirements as -1
  • Close and apply
  • In the Report page, click on the Waterfall chart to Sort by Headcount Change

 

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User II
Super User II

You could add a measure to sum the amounts with the correct sign.

 

Headcount Change = SUMX( 'Headcount Changes' , IF ( 'Headcount Changes'[Type] IN {"Hire", "Re-Hire"},1,-1))
Anonymous
Not applicable

Thank you for responding.

 

I found another way that works as well:

 

  • Edit Queries
  • Add Column Tab
  • Add Conditional Column
  • Name the new column Headcount Change
  • Tell the formula to treat Hires and Rehires as 1
  • Tell the formula to treat Terminations and Retirements as -1
  • Close and apply
  • In the Report page, click on the Waterfall chart to Sort by Headcount Change

 

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors