Forum Discussion
Count rows with filter condition
I am trying to create a measure volumn based on this syntaxt but getting an error saying there is a cicurlar dependency
Please download my file from the last answer and compare what we did.
Please share your file if it still fails to work.
This is a link:
https://drive.google.com/file/d/1sggfULJW-Dr8sQ80VWUIkrglrBwXWvZy/viewIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
9 Replies
- Ritaf1983Super User
Hi Anonymous
In terms of syntax, it is correct.
Attached is a picture of what I tried.
Regarding logic, I'm not sure I understand what you're trying to accomplish.
Could you please attach a sample of your data and the desired result?- AnonymousNot applicable
that's the column that i want to count how many 2.00, or 3.00 or 4.00 or a 5.00
- Ritaf1983Super User
The picture is cropped and still difficult to understand something.
Please attach a table / link to your file, as well as a picture of the desired result.
- AhmedxSuper User
write like this
Count_A = calculate(COUNTA('mytable'[column1]), FILTER(ALL('mytable'),'mytable'[column1] =1.00))