Power BI - Changing Value For Reports Based on Month/Year

GSanchez

New Member
Joined
Feb 23, 2021
Messages
10
Office Version
  1. 2019
Platform
  1. Windows
Hi Everyone,

In example below we see John Doe recently changed managers. We know John changed managers on March 1st of this year.

Normally the easiest way to input this change would be to simply go into our excel file that is being used as the source for the dataflow and change the manager’s name from Phil to Chris.

However, for reporting purposes we want to track the performance of each manager. So, for John Doe if we were to check anything before March 1st 2021 it would be under Phil. And anything after March 1st 2021 would be under Chris.

At the moment I only created the additional columns highlighted in orange as I feel this is necessary to create some sort of dynamic feature within my reports, but I am not sure how to go about it.

Is it possible to create some sort of measure or a new column that will automatically change between Phil and Chris depending on what the date is?

Thank you!
 

Attachments

  • Example.png
    Example.png
    6.2 KB · Views: 12

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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