Skip to main content
Solved

Data selection rule is not working with Mapping Sets


Peter Dijkstra
Starter

If i try to add a dataselection rule my tables stay empty.

Tried allready the selection rule on the table and with an without ‘ ‘ 

If i do the same in the query tool it looks good. Is it a bug?

Using version 6143.1

Best answer by Thomas Lind

Niels wrote:

Thanks it works! 

 

Result 

 

Hi Niels
Despite it working, it is not how your are supposed to do it.

Specifically the value you got in the field with the AND Exchange Part Equal 0.

Instead it is supposed to be done like this.

However the fact that this works, gives you the option to do some things that is not supposed to be possible.

View original
Did this topic help you find an answer to your question?

13 replies

Trine Stuhr
Employee
Forum|alt.badge.img
  • Employee
  • 14 replies
  • January 30, 2023

Hi Peter Dijkstra,

 

I am also using the data-selection rule on one of my tables in my test environment, and it works fine:

 

You shouldn’t include ‘ ’ in your selection. If you do that the table will be empty. But did you say you also tried without ‘ ‘? 


wvermeulen
Employee
Forum|alt.badge.img
  • Employee
  • 3 replies
  • January 30, 2023

Hi @Peter Dijkstra

We did some additional testing at it will work when you trigger a full load for that table. In this situation: 

 

 

In our situation only a deploy and execution won’t work. Please follow the next steps:

  • At table level choose Deploy and Execute
  • In the next window choose review tasks

     

  • Unmark en mark again all the tasks in the overview. 
  • Execute

     


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • January 31, 2023

Hi Peter

I am not sure I see the issue. If the table is using incremental load it will only filter rows that have not been added yet. So doing as suggested by Wahyudi is what you do.

It did look like you did not have incremental load on the table, so that should work. I think the ‘ around it is what gave the issue.

I made this video https://use.vg/hk0c0g it shows how to create a filter on a incremental load table and one without.


Peter Dijkstra
Starter

 

 

I am not using incremental load.

And as i told before i also tried to use without brackets.

it stays empty right now.

 


Peter Dijkstra
Starter
wvermeulen wrote:

Hi @Peter Dijkstra

We did some additional testing at it will work when you trigger a full load for that table. In this situation: 

 

 

In our situation only a deploy and execution won’t work. Please follow the next steps:

  • At table level choose Deploy and Execute
  • In the next window choose review tasks

     

  • Unmark en mark again all the tasks in the overview. 
  • Execute

     

It stays still empty.


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

Hi @Peter Dijkstra I will create a support ticket, so we can schedule a screen share to investigate the issue further


  • Starter
  • 2 replies
  • February 7, 2023

Is it also possible to apply one filter with 2 different fields? The filtering below doesn't give the correct result. 

DSA

 


Peter Dijkstra
Starter
Niels wrote:

Is it also possible to apply one filter with 2 different fields? The filtering below doesn't give the correct result. 

DSA

 

Hello Niels,

If you click on the first data selection rule, you can add a second one on the right of your screen.

You created now a “OR” selection rule and you can create then a “AND” Selection.


  • Starter
  • 2 replies
  • February 8, 2023

Thanks it works! 

 

Result 

 


rory.smith
TimeXtender Xpert
Forum|alt.badge.img+7
  • TimeXtender Xpert
  • 649 replies
  • February 8, 2023

As a little added detail: if you are adding Data Selection Rules to Incremental tables you will see the Incremental Selection Rule and the Data Selection rule on separate lines, but these are AND-ed together. So take note of the icon to differentiate between the two types.


rvgfox
Problem Solver
Forum|alt.badge.img+4
  • Problem Solver
  • 222 replies
  • February 8, 2023

I’ve similar problem with this:

 

In the MDW area:

When I deploy and execute the table, it’s empty ¿?

I tried with “ES” and ‘ES’ too.

 


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

Hi @rvgfox

Can you try to remove the primary key fields from the MDW table, as well as unguarding the DSA table, in order to troubleshoot further?

Also can you please share a screenshot of the DSA table expanded?

Many thanks 


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • Answer
  • February 9, 2023
Niels wrote:

Thanks it works! 

 

Result 

 

Hi Niels
Despite it working, it is not how your are supposed to do it.

Specifically the value you got in the field with the AND Exchange Part Equal 0.

Instead it is supposed to be done like this.

However the fact that this works, gives you the option to do some things that is not supposed to be possible.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings