Вопрос

I have a parameter at the top where someone can choose 1 or more divisions.

enter image description here

A group is used to repeat a table for the divisions. In my db I have asigned values stat1, stat2 and stat3 for automotive and stat4, stat5 and stat6 for equipment. For some reason it is reapeating automotives data and not retrieving equipments data, but it retrieves the correct division.

It's doing this:

enter image description here

and this:

enter image description here

The second one, is supposed to be stat4, stat5 and stat6. Not what it is now.

Это было полезно?

Решение 2

I un-ticked allow multiple values and just went with single selection parameters.

Другие советы

I can't add a comment yet so I'm going to try answer:

Try deleting any .data files and then re-running. I have noticed that sometimes in debug mode it re-uses the previous data.

Check that the parameters are set up correctly: The parameter expression to pass it to a query should be:

=SPLIT(JOIN(Parameters!<your param name>.Value,","),",")

In your query you should be using:

SELECT * FROM [Table] WHERE [Division] IN (@Parameter)
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top