I know I'm missing something in the process of create a dropdown filter for a dashboard, but I can't find what is wrong. Here are the things I've done so far:
-
Configure Metadata for the table, especifying a column (atm_id, a company identifier) as a foreign key, selecting values list as a filter and getting values from the appropiate column on the foreign table.
-
Next I created the query, very simple one with Field Filter on the column with foreign key, mapping the field to the correct column in the table, filter type ID and mandatory.
Here is the query:
select card_id, operationdate, ticket_id, tfxmz, HCXIM
from coga.LOGRECHARGE
where regtype in (1,2,11)
and operationdate >= to_date('01/01/2020','dd/mm/yyyy')
and {{atm}}
- Finally I create a dashboard and put the question in. Then I select "another cathegory" filter, but the interface says there is no valid field. Selecting ID as type of filter just spawns a text box for writing manually the value.
What I'm doing wrong?
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "1.8.0_252-8u252-b09-1~16.04-b09",
"java.vendor": "Private Build",
"java.vendor.url": "http://java.oracle.com/",
"java.version": "1.8.0_252",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "25.252-b09",
"os.name": "Linux",
"os.version": "4.15.0-101-generic",
"user.language": "es",
"user.timezone": "Europe/Madrid"
},
"application-database-details": {
"database": {
"name": "MySQL",
"version": "5.7.30-0ubuntu0.16.04.1"
},
"version": {
"tag": "v1.35.4",
"date": "2020-05-29",
"branch": "enterprise-release-1.35.x",
"hash": "b8ff861"
},