Forum Discussion

DanS446's avatar
DanS446
Icon for Helper I rankHelper I
2 years ago
Solved

Column to assign value based on week date?

Greetings, i have data of daily notifications and i need to create a column that assigns an Agent to each notification. They take turns each week. How could i calculate what value to set based ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi DanS446 ,

     

    Please try:

     

    Create a measure:

    Assigned = "Agent " & MOD(MAX('Data'[weeknum]) - 2, 3) + 1

     

    The final page effect is shown below:

     

    pbix file is attached.

     

    If you have any further questions please feel free to contact me.

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!