Forum Discussion
Anonymous
4 years agoNot applicable
count(distinct) for Direct Query
Hi, Am reading data from postgres to powerbi with direct query mode. count(distinct) is not working am pasting the error below.when i change it to import mode then its working. Error Message: ...
amitchandak
4 years agoSuper User
Anonymous , If it is dax function then
new measure = distinctcount(Table[Column])
or
new measure = Countrows(Summarize(Table, Table[Column]) )