Forum Discussion
lcasey
9 years agoPost Prodigy
simple measure
Hello , So I have spent 2 hours trying to create this formula with no luck. I am simply trying to get a count of all documents that are currently open so that I can show the number...
- 9 years ago
Hey lcasey.
I assume you are using the Country as the slicer, so I would use this to make your measure:
New Measure = CALCULATE(COUNTA(Transactions[Column1]), FILTER(Transactions, Transactions[Column2] > 0))
Hope this helps,
Alan
alanhodgson
9 years agoSolution Supplier
Hey lcasey.
I assume you are using the Country as the slicer, so I would use this to make your measure:
New Measure = CALCULATE(COUNTA(Transactions[Column1]), FILTER(Transactions, Transactions[Column2] > 0))
Hope this helps,
Alan
lcasey
9 years agoPost Prodigy
Thanks! I am still struggling with this language. I really wish I never would have learned SQL now. I think there is some sort of block in my brain preventing me from understanding this language. I need to practice much more!!!!
- alanhodgson9 years agoSolution Supplier
Yeah, I totally understand :smileyhappy:
Check out the article here.
The author does a series of articles titled "From SQL to DAX" that might help you out.