Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
I was wondering if someone could help me? I have a score created through a measure, shown by day. This works fine. I can show the measure in a table of days and this gives me a rating per day and an average over a period of time.
But, if the value on a given day falls below a certain rating (20) I would like to exclude this from the average. The data containing the 20 does not exist as a column as it is a measure divised by day over a time period. This is my measure for the average:
Day Average = AVERAGEX(VALUES(DateKey[Date]),[Score])
I would like it to only considers score of above the level of 20 per day for the average, the [Score] is a measure and not a column.
Any help would be much appreciated.
Thanks
Ian
Solved! Go to Solution.
Try with following
Day Average = AVERAGEX ( FILTER ( VALUES ( DateKey[Date] ), [Score] > 20 ), [Score] )
Try with following
Day Average = AVERAGEX ( FILTER ( VALUES ( DateKey[Date] ), [Score] > 20 ), [Score] )
That works brilliantly, thanks very much!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
74 | |
57 | |
38 | |
33 |
User | Count |
---|---|
71 | |
65 | |
58 | |
50 | |
47 |