Forum Discussion
Filter With Another Measure
- 3 years ago
unarsezer- Please check this out and let me know if this work.
row_number = VAR SelectedLeague = [Selected League] RETURN CALCULATE( COUNTROWS(deneme), FILTER( ALLEXCEPT(deneme, deneme[attacking_labels]), deneme[league] = SelectedLeague && deneme[template_position] = "CF" ) )I've hypothetically established this DAX measure, but without much clarity regarding your datasets. If this doesn't serve your needs, I recommend you share a sample dataset. This will give me a more comprehensive understanding of your data structure, enabling me to devise a more suitable solution. Cheers
unarsezer- Please check this out and let me know if this work.
row_number =
VAR SelectedLeague = [Selected League]
RETURN
CALCULATE(
COUNTROWS(deneme),
FILTER(
ALLEXCEPT(deneme, deneme[attacking_labels]),
deneme[league] = SelectedLeague && deneme[template_position] = "CF"
)
)I've hypothetically established this DAX measure, but without much clarity regarding your datasets. If this doesn't serve your needs, I recommend you share a sample dataset. This will give me a more comprehensive understanding of your data structure, enabling me to devise a more suitable solution. Cheers
- unarsezer3 years agoFrequent Visitor
It worked like a charm! Thanks a lot!