Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Taking the Median of a Measure

$
0
0

Hello,

I'm new to the community and need a little help.

 

I have a table that has one row for each transaction, and I was able to make a Measure that counts the number of transactions pretty easily:

     CountTransactions = Count('Store1'[Index])

This works fine, and adjusts to input from the slicers. Particularly, I want to apply it so I can see the number of Transactions that each customer makes each quarter, and slicing on "CustomerName" and "Quarter" gives me just that.

 

What I would like now is to find the medium number of transactions that occur between customers within the store each quarter. Is there a way to use a measure to take the median of this measure?

When I try to reference the above measure using the following formula:

     MedianTransactions = Median('Store1'[CountTransactions])

I get the error "Column 'GethelpCases' in table 'Gethelp' cannot be found or may not be used in this expression."

 

I'm guessing that this is because I am trying to reference a Measure inside a Measure, Is there a way to do what I am trying to do?

 

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>