document-api-python icon indicating copy to clipboard operation
document-api-python copied to clipboard

datasource-dependencies columns being passed as fields

Open itsmarco opened this issue 8 years ago • 1 comments

Hello again,

I'm not sure if this is actually a bug or if its intentional.

_get_column_objects finds all column tags in a datasourcexml. My problem occurs when there is a dependency in the datasource. These occur when a blend is done on a field or when a parameter is used in a calculation in that datasource. The following structure occurs:

image

The highlighted column element, inside of the datasource-dependencies element, gets passed as a field. This gives me the illusion that my [Parameter 1] is part of this datasource, while in reality it is part of the 'Parameters'-datasource.

Is there any way I can distinguish these fields from datasource-dependencies, from other fields?

Thanks again!

Marco

itsmarco avatar Mar 28 '17 14:03 itsmarco

The output of my script put in Tableau (again! :D), might (or might not) clarify the issue:

image

Highlighted are the parameters recurring in the other two datasources.

itsmarco avatar Mar 28 '17 14:03 itsmarco