Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
lim_c
New Member

To have same person in different cost centers depending upon a certain date

I have the following data:

 

lim_c_0-1688570826027.png

I have a different date table listing dates from Jan 2023 to Dec 2023.

 

What I want is --

 

To have Richard in Cost Center 1003159 until 2nd April 2023 and then have him under Cost Center 12701 from 3rd April 2023.

 

So for example,

 

If I click (slicer of the date table) on Jan 2023 OR Feb 2023 OR Mar 2023 until 2nd April 2023, Richard should appear under Cost Center 1003159.

 

But as soon as I click on May 2023 onwards, he should appear under Cost Center 12701

 

How can I accomplish this in PowerBI?

1 REPLY 1
lbendlin
Super User
Super User

Read about the concept of SCD - Slowly Changing Dimensions.  There are some great articles about SCD on sqlbi.com

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.