Closed hcc-donder closed 3 years ago
Did you write debug instructions after a RETURN expression ?
No. I have it like this:
Measure name =
VAR variable1 = DISTINCTCOUNT( TableName[ColumnName] )
//VAR DBG_ROWS_LIMIT = 20
RETURN
variable1
This still shows 30 rows.
I cannot reproduce the issue. I just tried with Contoso copying and pasting your measure (image below). I published version 1.2.3 today. Can you update and retry please ? If it's still not working, can you share a simple pbix ? You might also try to copy and paste the measure from above into the desktop in order to avoid any invisible character.
I installed the new version and it works correctly with the new version. Thank you.
Thank you for your contribution !
When I specify //VAR DBG_ROWS_LIMIT = 20, I still get 30 rows in the debugger. I am using version 1.2.2 with the May 2021 (version 2.93.981.0 64-bit) version of Power BI Desktop.