I wrote a DAX query that include some different kind of measure in SSAS Tabular model. Now I have to break my solution in some pages for using in application and sort by my measures.
I used TOPNSKIP() function but can not creating table that sorted by measure.
DAX code:
EVALUATE
SELECTCOLUMNS(
TopnSkip ( 5,0,'Station',Station[StationTitle],asc),
"NameOfStation",Station[StationTitle],
"TradeSellPrice", [TradeSellPrice],
"TradePrice" ,[TradePrice],
BrokerCommission",[BrokerCommission])
Order by [TradePrice] asc
This code first select Top 5 from "Station" table and then sorted by "Tradeprice". This is not my expectation and what I need a solution sorted by "TradePrice".