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.
Recently, the charts I had previously completed have started to display error messages and throw exceptions: "When a filter condition uses the In operator with a Table argument, all of the Expressions and all of the projections in the Table must be column references." When I remove the data restrictions from the visual object, it displays completely, but when I add them back, such as restricting it to display only five, it throws an error again. This issue has never occurred before, but it is now frequently appearing in my recently unmodified charts. Could this be due to changes made by Microsoft?
I have seen other authors' posts Data limit Filter Issue - Microsoft Fabric Community, but my question is: why did it display normally before, but now it shows an error without any modifications? Also, I am filtering the original column.
Hi @Bright_Chen,
Thank you for reaching out to Microsoft Fabric Community.
The error here is likely because of recent change in power bi’s internal DAX engine, it now enforces stricter validation when handling filters like IN or TopN that internally create table expressions.
These expressions must now contain only direct column references. If the engine detects any aliases, calculated expressions or non column projections, it throws this error even if the logic worked perfectly fine in earlier versions.
Update your filter logic to use only direct column references.
If you immediately need the visuals to work as before, you can download an earlier version of the desktop using Microsoft’s official link:
Previous monthly updates to Power BI Desktop and the Power BI service - Power BI | Microsoft Learn
But this is only a temporary workaround, future compatibility is not guaranteed and it is strongly recommended to adapt the logic as per updated behaviour.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi @Bright_Chen,
Thank you for the response and detailed explanation. Based on your requirement please use a RANKX measure to calculate the rank of each name by total amount and then apply a visual level filter to display only the Top 5:
TotalAmount = SUM('TableName'[Amount])
NameRank = RANKX(ALLSELECTED('TableName'[Name]),
[TotalAmount],,DESC, DENSE)
Apply a visual level filter, in the visual’s Filters pane drag this NameRank measure and set the filter to less than or equal to 5.
This flow is efficient, scalable and works in the new engine behaviour, no memory overhead or invalid filters.
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
Thanks and regards,
Anjan Kumar Chippa
Hi @Bright_Chen,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked? or let us know if you need any further assistance.
If my response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Thanks and regards,
Anjan Kumar Chippa
Hi @Bright_Chen,
We wanted to kindly follow up to check if the solution I have provided for the issue worked.
If my response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Thanks and regards,
Anjan Kumar Chippa
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 |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |