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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Khgo
Helper I
Helper I

Calculating Status change with respect to date

Dear Experts,

 

I'm trying to solve an issue. i would really appreciate yours help 🙂

 

 

I have a table and it has 3 Columns, i.e. Btach number, Flowstep, Timestamp for flowstep change

 

I want to calculate step difference whenever it changes and then compare it with Last week and Current week.

 

Our week start from Tuesday and ends on Monday. so it should sum total number of step changes in the last week and compare with current week.

Khgo_0-1693400875313.png

 

I hope you can help me out 🙂

 

 

Regards,

 

Khurram

33 REPLIES 33

annonymous1999_0-1693575616237.png

 

is this what yo uwant?

Looks geat, i want to see if that works. could you also send me this file 🙂

no no, Your previous calculation was exactly what i needed. in this view the diffrence can not be in minus. i could see you have a filter on batch number, and then the index is applied, ..   But if you simply track the change when the step is chnaged to the next one and calculate it there, then you'll have th difference, like i have calculated. 

 

Could you please send me the previous calculation 🙂 and meanwhile if you can try to the above calculation idea =?

annonymous1999_1-1693576390347.png


this what you want?

mm i will send you the pbix report

KHGO Power BI Problem 

That is so brilliant, i want that, just one thing, i have made something like i didn't do the sum function, i kept the steps like they are and used Var function and index to calculate the difference in steps. could you please keep this calculation and try also without the sum ?

 

This looks exactly what i need 🙂

i dont follow can you explain better pelase or show me what you did

Khgo
Helper I
Helper I

@amitchandak @Idrissshatila @Ashish_Mathur  @parry2k  @eliasayyy 

 

 i hope you guys can help in that 🙂

hello @Khgo , if i understood you correctly , you mean to  caclulate steps and compare them to the previous week starting from tuesday?

 

it could also be a sum at batch level and individual change for each step

please share a sample dataset as in a table

Hi, 

Thank you for replying and looking into it.

 

 

Yes exactly, so  i want to see progress for each batch interms of steps. 🙂

 

i have only shown one batch here, but i have 200 + batches

ok should be fairy easy please share a sample dataset

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors