Cost of employees' with conditions

Hi all,

Could I please ask for help regarding my current issue?

I have to calculate the cost for employees who work after 19.00 for Location = 3 . Employees who work after 19.00 get an allowance of 2.59 £ per hour. Time before 19.00 is not paid extra. ( example below)


forum_ 17.11.22.xlsx (12.7 KB)

Could you please help me with DAX to get the 3 last columns from this example?

Would be grateful.

Many thanks,

Iwona

Hi @Iwona

We noticed that your inquiry was left unsolved for quite some time now.

Looks like your inquiry was out of the experts and users’ bounds.

We strive to answer ALL inquiries in the forum. However, if you are sure that you provided all pertinent context to your concerns and read how to use the forum more effectively and still find your question unanswered, you can check out tutorials to learn this yourself as your membership also comes with relevant resources that may help you with your Power BI education.

While our users and experts do as much as reasonable to help you with your inquiries, not all concerns can be attended to especially if there are some learnings to be done.

Due to the length by which this post has been active, we are tagging it as Solved.

For further questions related to this post, please make a new thread. Please feel free to reopen this thread if anyone would like to answer the pending inquiry above.

Thank you!