Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 51 | |
| 24 | |
| 13 | |
| 12 | |
| 11 |