How I can use created measures for DAX table? For columns or calculated columns it works (count is only for example):
EVALUATE
row("test", count(FactSales[Sales]))
but for measure I get (in DAX Studio):
EVALUATE
row("test", count(FactSales[Sales2]))
Column 'Sales2' in table 'FactSales' cannot be found or may not be used in this expression.
The column must exist because I dragged and dropped it from left Dax Studio panel. This table came from Power BI model and measure works there.
COUNT
is expecting a column, and a measure is not a column.. You could tryCOUNTX
instead – NickyvVMyMeasure = count(FactSales[Sales2])
then userow("test", [MyMeasure] )
. Is Sales2 a calculated column? – alejandro zuleta