Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

DAX query to calculate distinct count respect to a column after a Filter function - SSAS 2012 Tabular

$
0
0

Hi,

I'm trying to build the dax query to determine the distinct count for a column returned by the application of a Filter function.

evaluate(
row("counter",
countrows(
filter(order_summary,
year(order_summary[change_date]) = 2013) )
)
)

I need to count the distinct values for an id returned by the Filter function.

Any helps, please? Thanks


Viewing all articles
Browse latest Browse all 14337

Trending Articles