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 team.
| loadNum(incremental) | notification(1 or 2 or 3) | Desired Column |
| 3 | 0 | 0 |
| 3 | 0 | 0 |
| 3 | 0 | 0 |
| 3 | 0 | 0 |
| 3 | 0 | 0 |
| 3 | 2 | 99 |
| 3 | 0 | 99 |
| 3 | 0 | 99 |
| 3 | 13 | 99 |
| 3 | 0 | 99 |
| 3 | 0 | 99 |
| 3 | 16 | 99 |
| 3 | 0 | 99 |
| 3 | 0 | 99 |
| 3 | 0 | 99 |
| 4 | 0 | 0 |
| 4 | 0 | 0 |
| 4 | 0 | 0 |
| 4 | 1 | 99 |
| 4 | 0 | 99 |
| 4 | 0 | 99 |
| 4 | 0 | 99 |
| 4 | 0 | 99 |
| 4 | 16 | 99 |
| 4 | 0 | 99 |
| 5 | 0 | 0 |
| 5 | 0 | 0 |
| 5 | 0 | 0 |
| 5 | 3 | 99 |
| 5 | 0 | 99 |
| 5 | 0 | 99 |
| 5 | 0 | 99 |
LoadNumber is incremental and i want only first few values till I hit first value (1or2or3)from column 2. rest all can be any value.
Please let me know how can it be done.
Thanks in advance.
Solved! Go to Solution.
Add a index column https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
then try a new column
new column =
var _1 = minx(filter(Table,[loadNum(incremental)] = earlier([loadNum(incremental)]) && [notification(1 or 2 or 3)] =0),[Index])
var _2 = [loadNum(incremental)]
return
if([loadNum(incremental)] =_2 && [Index] >= _1, 99,0)
Add a index column https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi
then try a new column
new column =
var _1 = minx(filter(Table,[loadNum(incremental)] = earlier([loadNum(incremental)]) && [notification(1 or 2 or 3)] =0),[Index])
var _2 = [loadNum(incremental)]
return
if([loadNum(incremental)] =_2 && [Index] >= _1, 99,0)
Hi,
If I understood your issue correctly then my suggestion will be to do as follows -
Best Regards,
PG
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 9 | |
| 8 | |
| 7 |