Forum Discussion
Calculate Filter not working
- 7 years ago
Then only problem I can think of is that, there is some spaces in Gender dimension. Try Transform -> Trim for Gender column in Query Editor.
Do you have any sync slicers enabled in some other tabs which filter for Male? If you want to replace the filter context of Gender, the better to use: PopulationFemale = Calculate( SUM ( 'FACT-Population'[Population] ),Population'[Gender] = "Female")
- Starlord7 years agoNew Member
Hi there
I dont have any sync slicers enabled to filter for male.
I tried the below but still shows blank.
PopulationFemale = CALCULATE (sum ('FACT-Population'[Population]),'FACT-Population'[Gender] = "Female")
- AkhilAshok7 years agoSolution Sage
Then only problem I can think of is that, there is some spaces in Gender dimension. Try Transform -> Trim for Gender column in Query Editor.
- Starlord7 years agoNew Member
Yes that was the problem i had some space infront of the Gender.
Thank you so much for your help Akhil !!!!