Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
I have a very urgent requirement. Source data looks as below:
Requirement is - I need to create a new column based on # of Business Days. The condition for the column is that for each Submission Number (Col A) , the value for the current row should be the value of the # of Business Days of the next row, eg :
the last step will always be blank.
Can someone please suggest how this can be achieved
Thank you
Poojitha
Solved! Go to Solution.
Hi @Anonymous,
Sorry for misunderstanding. Please try this:
next = LOOKUPVALUE('Table'[Of Bussiness Days],'Table'[Index],'Table'[Index]+1)
Hi @Anonymous ,
Please try this:
Column =
var next = LOOKUPVALUE('Table'[Of Bussiness Days],'Table'[Index],'Table'[Index]+1)
var diff = next-'Table'[Of Bussiness Days]
return
IF(ISBLANK(next),BLANK(),IF(diff <=0,0,diff))
Hi @Anonymous,
Sorry for misunderstanding. Please try this:
next = LOOKUPVALUE('Table'[Of Bussiness Days],'Table'[Index],'Table'[Index]+1)
Thank you for the quick turaround and helping me fix an urgent issue.
Hi @v-xuding-msft ,
Thank you for the logic, but I tried the same but noticed that the values are differnt in the new column.
The value is getting substracted by 1.
0 should be 1 and 17 should be 18.
Could you please suggest the fix.
Thank you
Poojitha
@Anonymous See my article on Mean Time Between Failure (MTBF) which uses EARLIER: http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/339586
Hello,
Thank you for the share but my requirement is different, where I need to show the previous value as the current value grouped by submission number.
Thank you