Dynamically Select Columns Based on Query Input from Analytic App
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Link86
8 - Asteroid
‎10-31-2022
10:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have a dynamic query in an analytic app. One of those questions in the app asks to select a month that will adjust the query. I would also like that same question to adjust a select file that reads from a flat file to show only that column in the select tool. Note: the flat file has every month of the year. Is there a way of doing this?
Example: If the user chooses 10 in the query, I only want to the October column from the flat file so that I am able to validate the data from the database and the flatfile.
Thank you.
Labels:
- Labels:
- Help
1 REPLY 1
17 - Castor
‎10-31-2022
11:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How does something like this look, @Link86?
We just check that the field isn't a month and then return the month corresponding to the month number selected in the dropdown. Here's a couple of runs:
