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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get value after decima...
Power Automate
Unanswered

Get value after decimal point

(0) ShareShare
ReportReport
Posted on by

Hi! 

 

I'm working with versioning  and trying to trigger a flow when it's a major version. So I've got a calulated field that gives me the value which flow sees, but I want to check that the value after . is .0 and not .x. Is it possible to do that ?

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

    Hi @ Nichochicho,

     

    Where is the value that you mentioned is saved in?

    Could you please share more details about the value after decimal point?

    Do you want to get the value after decimal point and check if the value is “0” or “x” ?

    What would you do when the value after decimal point is “0” or “x”?

     

    I have made a test on my side, and I would get the value from a sharepoint item  of a list, the sharepoint list as screenshot below:

    1.png

    The “versions” column is a “single line of text” type column.

     

    I have created a flow as screenshot below:

    2.png

    The expression in the Compose as below:

    first(skip(split(triggerBody()?['versions'],'.'),1))

     

    The expression of Condition as below:

    @equals(outputs('Compose'), '0')

     

    When an item is created in the list, and the value of “versions” column is “version.0”, the flow would run successfully as below:

     3.png

    When an item is created in the list, and the value of “versions” column is “version.x”, the flow would run successfully as below:

     4.png

     

     

    Regards,
    Alice Zhang

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard