cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JJJ04
Frequent Visitor

Rounding up with a Pie chart

Hi everyone,

 

I am trying to round up calculated numbers that are displayed in my pie chart.  I have tried using a solution from a previously asked similar question but to no avail.  I think I am having problems knowing where to put the syntax to round up in my current formula.  FYI, I am pulling from a SharePoint list.

 

This is what I have currently:

AddColumns(GroupBy('Hotel Reviews', "ReviewDone", "DATA"), "DONETOTAL", Sum(DATA, SampleTotal/TotalRecordsforReview*100))

Here is a screenshot of the added column I had created to do the calculated sum to display for the pie chart:

JJJ04_0-1623519433311.png

I just want the "DONETOTAL" column to round-up i.e 96.96 would round up to 97 etc.

 

This is what my Chart looks like currently:

JJJ04_1-1623519672920.png

 

Any help would be appreciated! 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@JJJ04 

Please consider changing your Formula to the following:

AddColumns(
    GroupBy('Hotel Reviews', 
        "ReviewDone", "DATA"
    ), 
    "DONETOTAL", RoundUp(Sum(DATA, (SampleTotal/TotalRecordsforReview)*100), 0)
)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

2 REPLIES 2
RandyHayes
Super User
Super User

@JJJ04 

Please consider changing your Formula to the following:

AddColumns(
    GroupBy('Hotel Reviews', 
        "ReviewDone", "DATA"
    ), 
    "DONETOTAL", RoundUp(Sum(DATA, (SampleTotal/TotalRecordsforReview)*100), 0)
)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

@RandyHayes You are amazing!!  It worked like a charm!  Thank you! 🙂

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,675)