DAX, how do I return a particular value when have multiple lookup critierias?

kfschaefer1

New Member
Joined
Feb 28, 2016
Messages
9
What is the correct syntax for the following situation?

I have two tables ResPlanData, SalaryEmpDetail

I need to look up the salary value for those employees who fall under the following criteria.

Name matches in ResPlanData, where ResourceType ="Salaried W/2"
If StartDate is prior to current year start then divide the salary amount by 12, else
use Start Date(first of that month) to input the Salary amount for remaining year.
if matching first 3 criteria then replace the Value where ResPlanData.[Resource Rate]="Billing" and ResourceType ="Salaried W/2" for employee and corresponding date.
.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top