Forum Discussion
atharvaunde59
6 years agoFrequent Visitor
COUNTIFS() with comparison
Hello everyone, am extremly sorry for posting for this problem again though there are lot of similar topic threads are there. I have a table with multiple columns I want to use countifs() in it bu...
- 6 years ago
Measure = CALCULATE(COUNTROWS('Table'),FILTER('Table', 'Table'[Range] < 20))If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
- 6 years ago
Hi,
Try this measure
Measure = CALCULATE(COUNTROWS('Table'),'Table'[Range] < 20)
mwegener
6 years agoMost Valuable Professional
Measure = CALCULATE(COUNTROWS('Table'),FILTER('Table', 'Table'[Range] < 20))
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
- atharvaunde596 years agoFrequent Visitor
I tried that measure but its is giving me wrong output.
I edited it as follwing
Measure = CALCULATE(COUNTROWS('sppu_se_comp sem_1_analysis'),FILTER('sppu_se_comp sem_1_analysis', 'sppu_se_comp sem_1_analysis'[COA_TH] < 20))where sppu_comp sem_1_analysis is my table name and COA_TH is column name from which I need to count no of students who's marks are less than 20.To verify it I applied filter on excel data and the actual answer is 8 but when i add that measure to card it shows count as 1- mwegener6 years agoMost Valuable Professional
- atharvaunde596 years agoFrequent Visitor
So sorry, I mistakenly attached wrong table in query to analyze.
Got it solved!
Thanks a lot for help!!!