Skip to main content
Sep 10, 2024 1:19 PM UTC
Question

HOW TO USE OR IN SEARCH PARAMETER

 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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Kurt_Jones
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Sep 10, 2024 10:26 PM UTC

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?

Translate
If my response answered your question, please mark it answered, so others can find the answer
Sven-iX
Community Advisor
Community Advisor
Sep 26, 2024 12:03 PM UTC

@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

 

 

 

Translate