web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Calcular una columna a...
Power Apps
Unanswered

Calcular una columna a partir de los valores de otra columna, con automate

(0) ShareShare
ReportReport
Posted on by 43

Buenas tardes,

En una lista de Microsoft lists, tengo una columna denominada Valor, que por cada fila tiene varios números:

Fila 1: 24

Fila 2: 32

Fila 3: 36

 

y me gustaría calcular otra columna denominada Tendencia, que se fije en los valores de la columna Valor y si la secuencia de números es creciente, ponga ASCENDENTE; si es decreciente, ponga DESCENDENTE y si es igual ponga IGUAL: por ejemplo:

 

Valor Tendencia

Fila 1: 24

Fila 2: 32

Fila 3: 36 Ascendente

Fila 4: 20 Descendente

Fila 5: 10 Descendente

 

y así sucesivamente.... ¿Cómo podría hacerlo con Power Automate?

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @CarlotitaMrt ,

     

    I've made a test for your reference:

    1\My SP List

    vbofengmsft_0-1695090986608.png

    2\My flow

    vbofengmsft_1-1695091048987.png

    1)

    startswith(Value,'@{concat('Fila ',sub(int(split(split(triggerOutputs()?['body']['Value'],':')[0],' ')[1]),1),':')}' )

    2)

    if(
     greater( int(Split(outputs('Get_items')?['body/value'][0]['Value'],':')[1]),int(split(triggerOutputs()?['body']['Value'],':')[1])),
     concat(triggerOutputs()?['body']['Value'],' Descendente'),
     if(
     less( int(Split(outputs('Get_items')?['body/value'][0]['Value'],':')[1]),int(split(triggerOutputs()?['body']['Value'],':')[1])),
     concat(triggerOutputs()?['body']['Value'],' Ascendente'),
     triggerOutputs()?['body']['Value']
     )
    )

     

    Result

    vbofengmsft_2-1695091095368.png

     

    Best Regards,

    Bof

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard