Forum Discussion
Analitika
Post Prodigy
4 years agoFiltering in calculation in Power BI
Hello, I would like to ask why filtering not working in my calculations? I used this measure: It was not in {"Skola tiekeju"} but I still see skola tiekjui values in visual. Why it happens...
Analitika
Post Prodigy
4 years agoError:
How to resolve this?
FarhanAhmed
Community Champion
4 years agosorry it was a typo
can you please add same condition with your next two filter expression of Operacija
- FarhanAhmed4 years ago
Community Champion
can you please write you DAX code in text format here,
- Analitika4 years ago
Post Prodigy
_Gauta, EUR = CALCULATE( [__Lik_Suma] ,FILTER( _APV, (CONTAINSSTRING([apyvarta.operacija],"Pajamavimas") && not [apyvarta.operacija] in {"Turto pajamavimas"} && [apyvarta.operacija] not in {"Skola tiekėjui"}) || CONTAINSSTRING([apyvarta.operacija],"Gauta") || CONTAINSSTRING([apyvarta.operacija],"Pradinis") ) ) - Analitika4 years ago
Post Prodigy
_Gauta, EUR = CALCULATE( [__Lik_Suma] ,FILTER( _APV, (CONTAINSSTRING([apyvarta.operacija],"Pajamavimas") && not [apyvarta.operacija] in {"Turto pajamavimas"} || not [apyvarta.operacija] in {"Skola tiekėjui"} ) || CONTAINSSTRING([apyvarta.operacija],"Gauta") || CONTAINSSTRING([apyvarta.operacija],"Pradinis") ) )This also not works for me.