The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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") )