Quantcast
Viewing all articles
Browse latest Browse all 217117

DAX Count number of unique values in one column only if frequency is over a certain number

Okay this sounds really simple but it has me stumped. I guess I basically want to show a count of unique references which show over/under a certain frequency (so I can later filter this). Here based calls transferred to a survey.

 

The Plan:

  • To show the number of callers passed to a survey who failed/completed at least 4 questions (or answered at least 4 questions). This should then allow me to show a number of calls who completed/did not complete per employee (who transferred the call over).

 

The Data:

  • Each row represents a single response.
  • There is a CALL column giving each callID reference, these appear more than once (for calls where more than one response was left).
  • There are other columns representing, employee ID/department etc (which eventually I’d like to filter to).

 

Working so far:

  • Distinctcount on Calls show number of calls
  • Countrows shows number of responses
  • Calculate count of responses over 3. If I show the calls on a table (non-summarised) I can show which calls had over 3 responses in a Boolean expression (which I probably need to count up again?)

 

Where I get stuck:

  • So I’m stacking a number of counts under/after each other which I can’t seem to do in DAX.
  • I get stuck counting up the number of unique calls which have/fail to have at least 3 responses for each employee/department. I’m feeling I need to do some calculated table functions here?

 

 

 


Viewing all articles
Browse latest Browse all 217117

Trending Articles



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