PowerPivot. Replace an excel formula with DAX for pivot table.
Budget: €8 – €30 EUR
I have created an exel file (Timesheet3.6). Now I want to create another file (Timesheet3.7_test) but this time use power pivot instead of just excel tables. I have completed almost all the project but I can not find how to use a statement in DAX to do the same thing that I have done with excel formulas.
In the excel formula (in the Timesheets3.6 file) I used
=IF(AND(B2=B1;AF2<>AF1);(AR1+1);IF(AND(B2=B1;AF2=AF1);AR1;IF(B2<>B1;1)))
In the original Timesheet3.6 file, this function exist in sheet 'ReportExt1' in column 'sequence'.
I want to replce this formula in DAX in the Timesheets3.7_test file in the power pivot table that I created
In the excel formula (in the Timesheets3.6 file) I used
=IF(AND(B2=B1;AF2<>AF1);(AR1+1);IF(AND(B2=B1;AF2=AF1);AR1;IF(B2<>B1;1)))
In the original Timesheet3.6 file, this function exist in sheet 'ReportExt1' in column 'sequence'.
I want to replce this formula in DAX in the Timesheets3.7_test file in the power pivot table that I created