Forum Discussion
Differrance betwee two values in rows
- 6 years ago
Hello Anonymous
the solution I proposed is Power Query. That what you are stating is DAX.
If the DAX solution is okay, go for it.
However, if you are copying my code into the advanced editor, it should not spin. Is a straightforward code. This is the result of combining the example data in my code
Jimmy
Not sure how,
There is a table called "Codering max trances" with two collums "Productcode" and "max omvang"
This got a relation with a table called "DimVoorziening" on productcode.
The table "DimVoorziening"has a relation with a table called "FeitNVTZ" on a unique codenumber, different from the productcode.
Finaly there is a relation from "FeitNVTZ"to a table called "FeitLevering"
This last table contains the values of the the given form collum "aVolume"
So what i need is the difference between
"Codering max trances"[max omvang] - "FeitLevering"[aVolume]
Then, when the value is 0 or less than zero i want to filter on those values so someone can get in contact with the company's which has more trances than the max volume.
Hi Anonymous
You can share sample data from 4 tables based on one Productcode. Won't be able to help without the sample data. Someone else might be able to help.
Thanks
Ankit Jain