Active Member
July 7, 2020
Hi,
I am working on the HR Interactive dashboard using the same data files that you've provided. ( Ref dashboard link: t=1466s)
While working on the Separations chart, I have encountered an issue with numbers. My bad hire number is much greater than the separation number.
How could it be possible. I tried many times checking in power query but don't understand the issue here.
In your chart, the overall separation count is 1649 where as mine is 599.And the bad hire number is 1179. Unable to understand why this huge difference in count.
Whenever I tried loading the data model, it says 22,129 rows loaded and 1057 error. Could this be the problem.
I have attached the excel file. Please help me solve this issue.
PS: I am using Excel 365.
July 16, 2010
Hi Haritha,
You can't sum the 'BadHires' field like that because you'll be double counting some Employee ID's. e.g. EmpID 55512 has a total of 2 for both separation and bad hire in 2016 because they were present in the data for multiple months. This is why my Separations measure is not a simple COUNT or SUM formula.
You also need to clean the errors in the query otherwise your dashboard will not reconcile to mine. You also need to change the type using locale for the HireDate column.
Mynda
Active Member
July 7, 2020
Hi Mynda,
Thanks for your response. For Separations, I have created a new measure as you've explained in the dashboard.
For the remaining, I will do as you suggested. Can you help me understand, is it because of the date data type columns that I am getting the errors while loading the data.
Thanks
Haritha
July 16, 2010
The errors you're getting in Power Query are because the source files are formatted d/m/y and your regional settings are m/d/y. Power Query tries to import the data on the assumption that it is also m/d/y and when it gets to a date that doesn't make sense in this format e.g. 14th December, it returns an error.
Mynda
Answers Post
1 Guest(s)