Forum Discussion
Target change during the year
- 2 years ago
Above didn't help, but I found a solution.
Made a table out of all the worked hours by day and employee, So i have in the columns Employee, day and in other columns for each type of work a column (pivot column). From there i needed the dax formula to retrieve the target by day.target =VAR CurrentDate = worked hours[date]RETURNCALCULATE (MAX ( Targettable ),FILTER ('AA targettest','AA targettest'[Column1] = worked hours[Employee] &&'AA targettest'[Startdate] <= CurrentDate &&'AA targettest'[Enddate] >= CurrentDate))
Thank you johnbasha33 for your prompt reply.
Hi JBESRI ,
May I ask if you have tried the suggestions above? If the suggestion helped you, you might consider marking it as a solution. If the problem has not yet been solved, please feel free to ask us a question.
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.