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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Highlight changed value over time

Hi All,

 

I was wondering if someone could help me out. 

We are forecasting our employee schedule for +8 weeks 'Forecast'[t+].

We change the record type from Employee to Idle if someone's commitment rate drops below 90%. 

Thus we can count the number of employee's and idle 'timer's' and plot them on the 8+ week forecast.

Now we want to be able to check who's joining the idle timers and who is leaving (based on employee ID).

Where 1 stands for Employee and 2 stands for Idle. It would be great to see the difference per week with the corresponding ID's. 

If have checked a lot of forums and blog, but I can't figure out a good solution. 

 

Many Thanks in Advance. 

 

Idle.PNG

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

First, what's your expected based on this sample data?

 

If you want to compare the Commitment rate between current week and last week. You can try following calculated column:

 

Last Week value =
IF (
    ISBLANK (
        LOOKUPVALUE (
            'Table'[Commitment rate],
            'Table'[Employee_ID], 'Table'[Employee_ID],
            'Table'[t+], 'Table'[t+] - 1
        )
    ),
    'Table'[Commitment rate],
    LOOKUPVALUE (
        'Table'[Commitment rate],
        'Table'[Employee_ID], 'Table'[Employee_ID],
        'Table'[t+], 'Table'[t+] - 1
    )
)

 

You can check the sample report here: https://1drv.ms/u/s!AlqSnZZUVHmshXQ7rxV2bFmtAamf 

 

Thanks,
Xi Jin.

View solution in original post

4 REPLIES 4
v-xjiin-msft
Solution Sage
Solution Sage

Hi @Anonymous,

 

Please kindly share us some sample data which we can copy and paste directly and its corresponding expected result. So that we can get a right direction and provide some proper suggestion.

 

Thanks,
Xi Jin.

Anonymous
Not applicable

Hi @v-xjiin-msft,

 

Thank you for your response.

See attached a sample of the data used.  

All employees with a commitment rate <= 90 are classified as idle and those >90 are classified as not idle.

 

Greetings,

Ronald

 

Employee_IDt+Commitment rateStatus
11100Not idle
12100Not idle
13100Not idle
14100Not idle
15100Not idle
16100Not idle
17100Not idle
18100Not idle
210idle
220idle
230idle
240idle
250idle
260idle
270idle
280idle
31100Not idle
32100Not idle
3395Not idle
3490idle
3580idle
3680idle
370idle
380idle
41100Not idle
42100Not idle
43100Not idle
44100Not idle
45100Not idle
46100Not idle
47100Not idle
48100Not idle
51100Not idle
52100Not idle
53100Not idle
54100Not idle
55100Not idle
56100Not idle
57100Not idle
58100Not idle
61100Not idle
62100Not idle
63100Not idle
64100Not idle
65100Not idle
66100Not idle
67100Not idle
68100Not idle
7190idle
7290idle
7390idle
7490idle
7590idle
7690idle
7790idle
7890idle
810idle
820idle
83100Not idle
84100Not idle
85100Not idle
86100Not idle
87100Not idle
88100Not idle
9180idle
9280idle
9380idle
9480idle
9580idle
96100Not idle
97100Not idle
98100Not idle
101100Not idle
102100Not idle
103100Not idle
104100Not idle
105100Not idle
106100Not idle
107100Not idle
108100Not idle

 

Hi @Anonymous,

 

First, what's your expected based on this sample data?

 

If you want to compare the Commitment rate between current week and last week. You can try following calculated column:

 

Last Week value =
IF (
    ISBLANK (
        LOOKUPVALUE (
            'Table'[Commitment rate],
            'Table'[Employee_ID], 'Table'[Employee_ID],
            'Table'[t+], 'Table'[t+] - 1
        )
    ),
    'Table'[Commitment rate],
    LOOKUPVALUE (
        'Table'[Commitment rate],
        'Table'[Employee_ID], 'Table'[Employee_ID],
        'Table'[t+], 'Table'[t+] - 1
    )
)

 

You can check the sample report here: https://1drv.ms/u/s!AlqSnZZUVHmshXQ7rxV2bFmtAamf 

 

Thanks,
Xi Jin.

Anonymous
Not applicable

Hi @v-xjiin-msft,

 

Thank you for your reply. 

It was not exactly the answer I was looking for but it did help me to solve the case.

Please find attached a picture of what I was trying to achieve.

Many thanks!

 

 

Ronald

Solution.PNG

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.