You may take a look at the post below.
@v-chuncz-msft : i created the measure and pulled the columns in matrix and measure as below in screenshot . I don't want to show this measure to business or end users .can you tell me detail steps after creation of measure ? i dragged the related columns and measure and i was able to sort on mutiple columns but measure measure which is calculated is appearing in table or matrix . how can i hide it and sort the table with the calculated measure