# What value to use as poll name when running report manually

**URL:** https://meta.discourse.org/t/what-value-to-use-as-poll-name-when-running-report-manually/249456
**Category:** Data & reporting
**Tags:** polls, sql-query
**Created:** [December 19, 2022, 8:29am UTC](https://meta.discourse.org/t/what-value-to-use-as-poll-name-when-running-report-manually/249456 "2022-12-19T08:29:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Phylo\_IF](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/phylo_if/32/280883_2.png) [@Phylo\_IF](https://meta.discourse.org/u/Phylo_IF)
#### Post date: [December 19, 2022, 8:29am UTC](https://meta.discourse.org/t/what-value-to-use-as-poll-name-when-running-report-manually/249456/1 "2022-12-19T08:29:23Z")

</div>

Hey, i got a question in regard to the implemented “Poll results report” which is one of the standard queries.

It asks me to put in a “Poll\_name” and a “Post\_ID”.  
While i can imagine the post id, i do not know where to find the “Poll-name”. Afaik this is not a standard field that you get in the Poll builder (Which would be Poll\_type and others, but not Poll\_name)

Can anyone help me out here?

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/3/2/d32c7627798feb739b0c72d7ec5fe2bddc14ab1d.png)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 20, 2022, 7:23am UTC](https://meta.discourse.org/t/what-value-to-use-as-poll-name-when-running-report-manually/249456/2 "2022-12-20T07:23:25Z")

</div>

Hi @Phylo_IF 🙂

That report is the one that runs when you press ‘Export’ from the poll itself.

If you’d like to run it manually you can grab the post\_id from the json of the post the poll is in, and the name would default to ‘poll’ if there’s only one poll in that post (if you have multiple they default to ‘poll1’, ‘poll2’, etc, though you can type a more descriptive replacement into the composer when creating them if you wish).

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [April 29, 2023, 1:46pm UTC](https://meta.discourse.org/t/what-value-to-use-as-poll-name-when-running-report-manually/249456/3 "2023-04-29T13:46:35Z")

</div>

A post was split to a new topic: [Update ‘multiple poll name’ pop-up](https://meta.discourse.org/t/update-multiple-poll-name-pop-up/263251)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 29, 2023, 1:46pm UTC](https://meta.discourse.org/t/what-value-to-use-as-poll-name-when-running-report-manually/249456/4 "2023-05-29T13:46:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
