# Progress Bar / no funciona

**URL:** https://community.glideapps.com/t/progress-bar-no-funciona/39089
**Category:** Ask for Help
**Created:** [February 28, 2022, 8:22pm UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089 "2022-02-28T20:22:00Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [February 28, 2022, 8:22pm UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/1 "2022-02-28T20:22:00Z")

</div>

En **(Progress Bar)** tengo información que tiene que tomar de una columna CANTIDAD DE POLIZA, en la que le estoy colocando como maximo 4 =100% y registo 4 ó 5 ó 6 y solo reconoce 50% ya revice que todos los caracteres de la tabla sean iguales pero nada de los que me reconoce solamente deje 4 en toda la tabla y me sigue arrojando 50% algo esta mal.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/7/87a5033214370d481867c1a7381aefaef8734db8.jpeg)

Saludos,  
Alberto M

---

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [February 28, 2022, 8:23pm UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/2 "2022-02-28T20:23:55Z")

</div>

En el Maximo le coloco 4 como ven en la imagen y me toma 50%

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/f/ef8b1716f484a89bd6425e6045b3276b14c8079e.jpeg)

Saludos

---

<div class="post-metadata">

### Author: ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)
#### Post date: [February 28, 2022, 11:04pm UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/3 "2022-02-28T23:04:31Z")

</div>

Hola Alberto,

Podrías subir una imagen de la data que tienes en el editor de datos para saber que fila está mostrando el gráfico?

Creo que hay una confusión en la fila que quieres usar y la fila que está usando el gráfico.  
Saludos

---

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [March 1, 2022, 1:50am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/4 "2022-03-01T01:50:06Z")

</div>

Hola Valero mira desde la columna A

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/f/efd92566cfec4ef4a18e181dd19371968c01ee57.jpeg)

---

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [March 1, 2022, 1:51am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/5 "2022-03-01T01:51:35Z")

</div>

La continuación es esta:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/8/f889feeed2d2a7a0593e4aac61776d19390c9129.jpeg)

no veo que no esta agarrando

---

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [March 1, 2022, 1:53am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/6 "2022-03-01T01:53:08Z")

</div>

La configuración la tengo asi mira

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/2/e2a5bc454e3f5433f30290416a473de355989a51.jpeg)

---

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [March 1, 2022, 1:56am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/7 "2022-03-01T01:56:33Z")

</div>

Y solo estoy luchando con estos productos, si me piden que genere las metas de los otros productos, como se realizaría ya que los esta sumando todo. despues tendría que averiguar como la saco por producto.

Saludos

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [March 1, 2022, 2:08am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/8 "2022-03-01T02:08:34Z")

</div>

The progess bar component only looks at the current row. I can’t tell which row is the current row for your detail screen, but I will guess that it’s the first row in your table. The Mas Registro column contains a 2 for the value, and 2 is 50% of 4. Based on what your selections are set to for the progress bar component, it appears to be working correctly.

---

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [March 1, 2022, 2:14am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/9 "2022-03-01T02:14:57Z")

</div>

Que tal Jeff,

Fíjate, el 2 que tengo es para que me reconozca de acuerdo a la fecha el mes que vine siendo febrero

---

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [March 1, 2022, 2:17am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/10 "2022-03-01T02:17:42Z")

</div>

Miara Jeff, si cambio la configuración en DATA a Cantidad de Póliza me reconose una

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/7/d7def95219d57613f87f1f940a27e6bd968b81b4.png)

pero en el reporte de arriba me dice que tengo 5

---

<div class="post-metadata">

### Author: ![Alberto\_Montiel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alberto_montiel/32/44497_2.png) [@Alberto\_Montiel](https://community.glideapps.com/u/Alberto_Montiel)
#### Post date: [March 1, 2022, 2:24am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/11 "2022-03-01T02:24:26Z")

</div>

lo otro que se me ocurre es que me cuente la columna de Cantidad de Póliza, pero me corro el riesgo de que me sume todas las pólizas (Vida - Auto - Etc) ó que le ponga código a los productos Ejemplo 1001 Vida / 1002 Auto …

que me recomiendas

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [March 1, 2022, 2:30am UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/12 "2022-03-01T02:30:27Z")

</div>

But the row your screen is connected to has a 1 in the Quantity column. As a result, 1 is 25% of 4. Like I said, the progress bar component only looks at the current row that the detail screen is showing. You are not showing the configuration for your chart above, but I assume that it’s linked vto the entire table, and as a result, will show an accumulated value from all rows in the table.

I think what you should be asking, is how to get a total from all rows in the table.

The easiest way is to create a Rollup column that will either count the total number of rows, or sum the value of a column in all of the rows.

If you need to only show a total for those rows that are in February, then you should first create a multiple relation column that links the month column back to itself. Then create a Rollup column that totals your value from all related rows in the same month.

On e you have your rollup column value, then that is what you can use for your progress bar.

> [@Alberto\_Montiel](#):
>
> count the Policy Amount column

I’m not sure I understand your second question, but if you need specific totals for different policies, then you can create a template column that joins the month and policy together, then create a relation that links that template back to itself, then create a Rollup column to get the total for that policy in that month.

---

<div class="post-metadata">

### Author: ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)
#### Post date: [March 1, 2022, 7:17pm UTC](https://community.glideapps.com/t/progress-bar-no-funciona/39089/13 "2022-03-01T19:17:42Z")

</div>

Hola de nuevo, disculpa el retraso!

Creo que tu problema es que estás confundiendo las columnas a usar. Necesitas colocar tu _Cantidad de Póliza_ en el parámetro _Data/Column_ del Progress Bar para que el cálculo sea correcto.

Así como lo tienes, estás usando el número del mes (2=Febrero) y como todos los datos son de ese mes la operación 2/4 es siempre 50% para el gráfico.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/7/97f855c3b1706533ea595d6bad594142f95fe312.png)

Saludos.
