Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Rune_
Frequent Visitor

Report for Time and attendes for project (subtract in same colum different rows)

Hi
I am trying to make a report for time registered on project and project lines. 

My problem is that I have different wage types.

In example one wage type is "Monthly paid" and one is "Overtime 50% addition" and one is "Plusstime to timebank"

Monthly paid 7,5 hours

Overtime 50% 2,5 hours (addition to hourly pay)

Plusstime to TB 2,5 hours

Which adds up to 12, 5 hours when they have only worked 10 hours. 

Sometimes they work without getting overtime

Monthly paid 7,5 hours

Plusstime to TB 2,5 hours

Which adds up to 10 hours which is correct. 

 

I want to change wage types from the list I have today into this:

 

Wage Type todayWage type I need
FastlønnNormal tid
Plusstid 1Normal tid
Plusstid 2Normal tid
Overtidstillegg 50%Overtidstillegg 50%
Overtidstillegg 100%Overtidstillegg 100%
Offshore kompensasjonOffshore
Offshore tilleggOffshore
HelligdagsgodtgjHelligdagsgodtgj
NattilleggNattillegg

 

Then I need to group New Wage types per project, employee, date and hours

 

If there is overtime and/or Offshore then that needs to be subtracted from Normal time per date and emplyee. 

 

We also have to consider that new wage types may come later, so they need to be displayed in the report as well. 

 

This is the date I have on one project ( I use Prosjekt.1 and Prosjektlinje to group in report)

 

Prosjekt.1Prosjekt.2 ProsjektlinjeDatoAnsatt (Employee)Lønnsart (wage type)Totalt antall timer
10356kontroll av Black Eagel130 Timeforbruk24.10.20202000 900 Plusstid 113
10356kontroll av Black Eagel130 Timeforbruk24.10.20202000 17 Overtidstillegg 50%5
10356kontroll av Black Eagel130 Timeforbruk24.10.20202008 900 Plusstid 15
10356kontroll av Black Eagel130 Timeforbruk24.10.20202008 17 Overtidstillegg 50%5
10356kontroll av Black Eagel130 Timeforbruk24.10.20202008 901 Plusstid 28
10356kontroll av Black Eagel130 Timeforbruk24.10.20202008 18 Overtidstillegg 100%8
10356kontroll av Black Eagel130 Timeforbruk24.10.2020200018 Overtidstillegg 100%8
10356kontroll av Black Eagel130 Timeforbruk25.10.20202000 900 Plusstid 114
10356kontroll av Black Eagel130 Timeforbruk25.10.20202000 18 Overtidstillegg 100%14
10356kontroll av Black Eagel130 Timeforbruk25.10.20202008 901 Plusstid 212
10356kontroll av Black Eagel130 Timeforbruk25.10.20202008 18 Overtidstillegg 100%12
10356kontroll av Black Eagel130 Timeforbruk26.10.20202000 1 Fastlønn1,97
10356kontroll av Black Eagel130 Timeforbruk26.10.20202000 901 Plusstid 20,35
10356kontroll av Black Eagel130 Timeforbruk26.10.20202006 1 Fastlønn4,75
10356kontroll av Black Eagel130 Timeforbruk26.10.20202003 1 Fastlønn2,57
10356kontroll av Black Eagel130 Timeforbruk26.10.20202003 900 Plusstid 10,13
10356kontroll av Black Eagel130 Timeforbruk26.10.20202006 900 Plusstid 10,03

 

 

 

1 REPLY 1
lbendlin
Super User
Super User

You can create groups in Power BI (on the UI side) that can map your wage types accordingly. You can then base measures or calculated columns on these groups.

 

Where they don't help is when you have new wage types coming in.  Groups have a bucket "Others"  which you would have to manually monitor for new items, and then adjust your groups and formulas accordingly.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors