Forum Discussion
Measure based on dividing on types
- 2 years ago
or try this
try
Looks awesome Ahmedx . But can you explain what's going here? What are those magic '80' numbers doing there?
- Ahmedx2 years ago
Super User
or try this
- Ahmedx2 years ago
Super User
you wrote the condition, If VXO = 80 and NXO is not present -> 80
I understand that if the conditions are met, the result should be 80 - MikeHendriks2 years ago
Helper I
You are 100% right Ahmedx, but you can also say:
If VXO = 70 and NXO is not present -> 70
If VXO is not present and NXO = 70 -> 70
If VXO = 70 and NXO = 70 -> 70or
If VXO = 10000 and NXO is not present -> 10000
If VXO is not present and NXO = 10000 -> 10000
If VXO = 10000 and NXO = 10000 -> 10000So in general I just wanted to state that if on ONE 'Costcenter'[Number] you have ánd NXO ánd VXO the amount must be divided by 2. And if only NXO ór VXO is present then you need that number.
But the outcome of your query looks ok, but I can't imagine that that 80 is necessary.
I hope I'm more clear now!?
- Ahmedx2 years ago
Super User
I get it, you can just write it like that
- MikeHendriks2 years ago
Helper I
So close Ahmedx.... I really appreciate your help!
But filtering on 'number' gives issues. Do you have an idea for this as well:
- Ahmedx2 years ago
Super User
try again
- MikeHendriks2 years ago
Helper I
Amazing Ahmedx. Thank you very much!