Expand my Community achievements bar.

Join us LIVE in San Francisco on November 14th for Experience Makers The Skill Exchange. Don't miss out on this free learning event!

HOW TO USE OR IN SEARCH PARAMETER

Avatar

Level 1

 I have two dashboards which I want to do an aggregate count using API. How can I do this using OR in the API?
I am not getting correct result

 

2 Replies

Avatar

Community Advisor

Hi ServiceAc1, can you provide a bit more detail?  The dashboard is not an object with an endpoint in the API.  Dashboards are essentially a combination of reports, which in turn are made of lots of different fields.  You can get to most fields via the API.  Are there fields on your reports you're trying to compare?

Avatar

Level 5

@ServiceAc1 can you add more detail. 
A dashboard has no info, you're probably talking about reports. 

Sounds like you have 2 reports, and you'd like to combine the data sets by combining the report filters. 

 

In general: 

 

condition A

condition B

condition C

OR:1:condition D

OR:2:condition G

 

If the OR:1 or OR:2 has multiple parameters try 

 

OR:1:AND:1:condition D

OR:1:AND:1:condition E

OR:1:AND:1:condition F

OR:2:AND:1:condition G

OR:2:AND:1:condition H

OR:2:AND:1:condition J