Forum Discussion
Arslan94
3 years agoFrequent Visitor
need help please !!!
hello i am new on the platform and i hope you can help me. the following problem: I want to write a measure that should refer to the "SalesTest" measure and give me the total with the criteri...
- Anonymous3 years ago
hello try to use this on the measure you did:
IF(HASONEFILTER([customer no]),[your measure],SUMX(VALUES([customer no]),[your measure]))
- tamerj13 years agoCommunity Champion
I'm a little bit confused
this is your measure
Sales Test= SWITCH(TRUE(),ISINSCOPE(Customer_V[No]),Sales[Sales],Sales[Sales])
this basically returns the same value in both conditions! is thi a typo mistake? how did you blank out the first two values?
- Arslan943 years agoFrequent Visitor
Sorry,
SalesTest is the measure with the criterion <1000.
SalesTest: if(salesTest < 1000,salesTest)
And Sales is the measure : SWITCH(TRUE(),ISINSCOPE(Customer_V[No]),Sales[Sales],Sales[Sales])
- Anonymous3 years agoNot applicable
hello try to use this on the measure you did:
IF(HASONEFILTER([customer no]),[your measure],SUMX(VALUES([customer no]),[your measure]))