Forum Discussion
Relationships between two tables not filtering properly
Anonymous That did not work. Getting rid of the material relationship made the other table with the targets also throw out incorrect values.
There are many additional tables in this model however its a live data set and it can't be viewed.
The operation numbers are not unique. There can be many similar material number and operation number rows in the same table.
Sorry, I don't think I edited my previous reponse very well.
One solution would be to create a new column in both tables which combines the information from material and operation number into a unique code. Then relate the tables with a 1:1 relationship.
For example I'm using index as the name for the new column:
Alternatively you could add a calculated column to the data table.
In my example that would be:
- Anonymous3 years agoNot applicable
Unfortunately, except for my Scrap Target table all my other tables use DirectQuery with data from our MES system and I can't access the dataset. 😞