Forum Discussion
Creating a measure as a page filter
Hi JRowe ,
As far as I know, Power BI doesn't support us to add a measure into page level filter or all page level filter. Power BI only support us to add the measure into visual level filter. So I suggest you to create a calculated column and add it into page level filter.
Count of TeamID = COUNTAX(FILTER('Table','Table'[TeamID]=EARLIER('Table'[TeamID])),'Table'[TeamID])
Add this calculated column into page level filter and show items when the value is greater than 49.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Rico, I think that would work although I have to use a direct query due to the size of the databases I'm using. Therefore I get the error message "Function 'COUNTAX' is not allowed as part of calculated column DAX expressions on DirectQuery models." Not sure if there is a way around the problem on Direct queries?