I am trying to fill in a chart with multiple records per each account. I want the chart to only display the records for the selected account. I am trying to use the selection criteria properties on the chart. I wonder if my syntax is not correct. I am trying to link to account by getting a value from the screen. I tried variations of the following logic:
TSACCT = (getElementValue('I_2_15'))
Chart selection Criteria
-
- Profound User
- Posts: 38
- Joined: Mon Jun 20, 2011 11:44 am
- First Name: Bill
- Last Name: Streit
- Company Name: Fox Metro WRD
- Contact:
- Emily
- Profound Logic Staff Member
- Posts: 89
- Joined: Tue Jun 21, 2016 8:30 am
- First Name: Emily
- Last Name: Seage
- Company Name: Profound Logic
- Contact:
Re: Chart selection Criteria
Hi FoxBill,
You should be able to accomplish this by using the 'selection criteria' and 'parameter value' properties for your chart. There's more information on using these properties in our Charts documentation: http://www.profoundlogic.com/docs/displ ... sionCharts (under Database-Driven Chart).
The 'selection criteria' property acts as the WHERE clause of your SQL statement. If you wanted your chart to populate with only the records for a specific account and the account value is on your screen, you could do something like this:
This uses the get() API to get the value of the field with the I_2_15 id and will show the records where TSACCT equals the value of this field.
I hope that this helps!
You should be able to accomplish this by using the 'selection criteria' and 'parameter value' properties for your chart. There's more information on using these properties in our Charts documentation: http://www.profoundlogic.com/docs/displ ... sionCharts (under Database-Driven Chart).
The 'selection criteria' property acts as the WHERE clause of your SQL statement. If you wanted your chart to populate with only the records for a specific account and the account value is on your screen, you could do something like this:
This uses the get() API to get the value of the field with the I_2_15 id and will show the records where TSACCT equals the value of this field.
I hope that this helps!
Emily Seage
Support Team Lead
Support Team Lead
-
- Profound User
- Posts: 38
- Joined: Mon Jun 20, 2011 11:44 am
- First Name: Bill
- Last Name: Streit
- Company Name: Fox Metro WRD
- Contact:
Re: Chart selection Criteria
Thanks Emily,
That is exactly what I was looking for that worked fine.
Bill
That is exactly what I was looking for that worked fine.
Bill
Who is online
Users browsing this forum: No registered users and 0 guests