Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
Please help me with below scenario where calculated column needs to be filled down with a condition.
if ticket number is same then work queue should be filled down and until then "No WQ".
when ticket number changes then No WQ util Work_Queue has a value. then logic continues.
final result should look like column N = WQ-Full
Hi, @surajde
You can try the following methods. First add index column in the Power Query.
Column =
Var _N1=CALCULATE(MAX('Table'[Index]),FILTER('Table',[Index]<=EARLIER('Table'[Index])&&[WORK_QUEUE]<>BLANK()))
Return
IF(_N1=BLANK(),"NO WQ",CALCULATE(MAX('Table'[WORK_QUEUE]),FILTER('Table',[Index]=_N1)))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for help but this one is not helping when there are multiple tickets.. Please help write formula with multiple ticket numbers in the first column.
Initially there may not be a queue for new ticket but queue will be assigned later as you can see in first tticket.
@surajde , First use fill down in Power Query and then replace null with No-WQ
Power Query - Fill Up Fill Down: https://youtu.be/mC2ps0pFqBI
Power BI- Power Query Conditional Replace Value- https://youtu.be/Qj2bthdusiM
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
60 | |
60 | |
49 | |
45 |