0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Introduction

I am trying to show how we can pass prompt valeus to the spreadsheet.
It can be done by using Name Range in Excel and the name of filter in the query.
Let's have a look it.

Name Range on the Excel worksheet

Give the name Date to cell D10 and,
image.png
Give the name Date2 to cell E10.
image.png

Spreadsheet (Published Report)

Import it to a published report and use it as a Spreadsheet.
image.png
Then define a filter in the query for the published report.
A published report must have a query in it.

I add a Date filter and give a name to it as Date which has to be the same as the name range I gave to the cells.
Because the name of FROM filter is refer as Date, and TO filter is refer as Date2.
image.png

Verification

Save the published report, and view it with the browser.
The Date filter defined is displayed as prompt like this.
Select From and To date, then click Submit button.
image.png

The filter values entered are transferred to the name range which has the same name as the filter.
image.png

Conclusion

This time I just show how the filter value is passed to the contents of the spreadsheet so what I did doesn't have any meaning but you can find the useful way to the use for your business from this idea.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?