Forum Discussion
Starlord
7 years agoNew Member
Calculate Filter not working
Hi there I am having a problem with DAX calculate and filter measure. PopulationFemale = Calculate( SUM ( 'FACT-Population'[Population] ), Filter( 'FACT-Population','FACT-Population'[Gender...
- 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.
Starlord
7 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")
AkhilAshok
7 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 !!!!