Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I 'am trying to count how many rows in MyTable have MyField = Y.
MyField is a logical field.
But something goes wrong...
How can I solve the counting in MyField?
IDCLosed = COUNTAX('Mytable'; [MyField] = TRUE())
Thanks
Solved! Go to Solution.
thanks
It works. I had to substitute = "Y")) with = true ))
@gpiero try this Measure
IDClosed = COUNTROWS ( FILTER (Table, Table[MyField]="Y") )
User | Count |
---|---|
98 | |
76 | |
74 | |
49 | |
26 |