Skip to main content
Community site session details

Community site session details

Session Id : 5exl+HW4TR3VyZ+twCgJsq
Copilot Studio - General
Answered

long floating numbers in send an email action

Like (0) ShareShare
ReportReport
Posted on 19 Mar 2024 20:55:02 by 72

Hi, I used the flow to send out timesheet reminder emails, in the email I used data from a Power BI table, although numbers are well formatted in Power BI, they become long floating numbers in the email:

below is an example of the email. I would like to round up both numbers to two decimals. 

Dear xxxx,
This is a gentle reminder that your timesheet is not fully completed.
recorded hours:
57.00000000000001
completion rate:
0.3571428571428572

 

 

 powerbi rounding.PNG

 

Categories:
  • Jeanxyz Profile Picture
    72 on 25 Mar 2024 at 08:32:27
    Re: long floating numbers in send an email action

    Thanks a lot for help. Also the mouse hover-over trick is very helpful. 

  • Verified answer
    v-yueyun-msft Profile Picture
    on 20 Mar 2024 at 01:18:31
    Re: long floating numbers in send an email action

    Hi , @Jeanxyz 

    This should be because you're just formatting the data in Power BI, so the data coming into flow is still the original value.

    For your need , you can use the expression in Power Automate to format the number.

    First , you can use your mouse hover to the field in your flow and you can see its expression in flow.

    vyueyunmsft_0-1710897290434.png

    For example , here is my expression for the Country field.

    items('Apply_to_each')?['Country']

    vyueyunmsft_1-1710897363569.png

     

    So we can use this expression to format the number in flow.

    formatNumber(items('Apply_to_each')?['Country'],'0.00')
     
    formatNumber(Your field expression ,'0.00')
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun 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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Loading complete