Forum Discussion
Eggsforbreaky
1 year agoRegular Visitor
PBI Line chart counting numbers below average
Hi all, and thanks in advance. Hoping someone can assist me, I need a measure to count items on a line chart that are below average as below.
- 1 year ago
Download PBIX file with the example below
This works for me
Count Below Average = CALCULATE(COUNTROWS('DataTable'), 'DataTable'[Value] < AVERAGE('DataTable'[Value]))Regards
Phil
PhilipTreacy
1 year agoSuper User
There is, the measure I wrote.
How is the measure I wrote not what you want? If you want to count the number of times throughput is below the average throughput for the selected time period, that's what my measure does.
Sorry, I'm not following how I haven't provided the answer you asked for.
Regards
Phil
Eggsforbreaky
1 year agoRegular Visitor
- PhilipTreacy1 year agoSuper User
You have too many closing square brackets and parentheses. Try this
db Count Below Average = CALCULATE(COUNTROWS('Item'), 'Item'[ItemId] < AVERAGE('Item'[ItemId]))Regards
Phil