# Update progress name along with percentage in ProgressMeter.jl

**URL:** <https://discourse.julialang.org/t/update-progress-name-along-with-percentage-in-progressmeter-jl/89716>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 3, 2022, 2:19pm UTC](https://discourse.julialang.org/t/update-progress-name-along-with-percentage-in-progressmeter-jl/89716 "2022-11-03T14:19:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Datseris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datseris/32/13406_2.png) [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Post date:** [November 3, 2022, 2:19pm UTC](https://discourse.julialang.org/t/update-progress-name-along-with-percentage-in-progressmeter-jl/89716/1 "2022-11-03T14:19:03Z")

</div>

I’m using [ProgressMeter.jl](https://github.com/timholy/ProgressMeter.jl) and I have a `Progress` to measure time a task takes. The task has `n::Int` total steps, but for each `n/10`th or so step a different parameter is used in my process. I would like to be able to display both information, the current percentage, as well as the current parameter’s value. I’ve read the README in detail but either I missed something, or I couldn’t find how to do this if it is possible at all. My approach would be to update the name of the progress bar to reflect current parameter, while the percentage and ETA times stay as they are by default.

Any help?

---

<div class="post-metadata">

**Author:** ![SteffenPL](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/steffenpl/32/206270_2.png) [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)\
**Post date:** [November 3, 2022, 2:40pm UTC](https://discourse.julialang.org/t/update-progress-name-along-with-percentage-in-progressmeter-jl/89716/2 "2022-11-03T14:40:22Z")

</div>

`ProgressMeter.next!(p; showvalues = [(:iter,iter), (:x,x)])` something like this?

The source code itself is quite short, seems like there is also a `desc` keyword argument you can pass to `next!`. See [ProgressMeter.jl/ProgressMeter.jl at 83e619faed2780ab5d6929777c8f6151e3b88c5e · timholy/ProgressMeter.jl · GitHub](https://github.com/timholy/ProgressMeter.jl/blob/83e619faed2780ab5d6929777c8f6151e3b88c5e/src/ProgressMeter.jl#L254)

---

<div class="post-metadata">

**Author:** ![Datseris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datseris/32/13406_2.png) [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Post date:** [November 3, 2022, 3:06pm UTC](https://discourse.julialang.org/t/update-progress-name-along-with-percentage-in-progressmeter-jl/89716/3 "2022-11-03T15:06:33Z")

</div>

Thank you! Indeed `desc` does what I thought I wanted, but in fact the `sowvalues` approach is even more elegant. Thanks! I knew I was missing something, and it was the [Show additional information](https://github.com/timholy/ProgressMeter.jl#printing-additional-information) section!
