Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pie Chart from Yes/No data in one field

Featured Replies

I'm trying to create a Pie chart that shows how many "Yes" and how many "No" responses I have in my data.

The value of Yes or No is in ONE field across 72 records

 

When I make the chart I get 72 slices (there are 72 records).

 

I appears that I need to summarize the data to have two totals: Yes's and No's.

I tried to make a Summary field to do this but how do I express 2 different values?

 

I wrote a script that totals the Yes and the No values into two global variable but I can't assign two values to the Pie chart.

 

I'm missing something easy here....Help !

 

Jason

Try it this way:

 

1. Define a summary field sCount as Count of [ any field that cannot be empty ];

 

2. Set the chart to:

 

LabelData : YourTable::Response

Value Data: YourTable::sCount

 

Use Data From: [ Current Found Set ]

[x] Show data points for groups of record when sorted

 

Make sure records are sorted by the Response field.

  • Author

OK..Awesome !

I kept wanting to put the data (my Yes/No responses) into the Value Data area.

 

I also had a weird glitch with my report where it was not summarizing even though it was sorted. It would only show one record in the Body part and I had to scroll to see each record.

 

I deleted that report and made a new one and that fixed that.

 

Placing the chart in the Header and following your instructions have created a working chart :-)

Thanks again !!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.