Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I have a powerpivot table that is linked to a datamodel that has a calculated field. I want to be able to filter by the calculated field before the data goes to the pivot table. Please could you tell me if this is possible?
Also I'd like to delete all data in the datamodel that is filtered out of the calculated field, to reduce the file size. Please could you tell me if this is possible?
Thank you,
CW
Hi @PowerWhy ,
Currently, this is impossible. However, like SQL Server, you can enter the query statement in the following SQL statement before importing to achieve pre-filtering.
So you can import data into SQL Server first and then connect to Power BI.
In addition to pre-filtering through SQL satements, you can also use DirectQuery to reduce the anxiety caused by the size of the data model.
DirectQuery in Power BI - Power BI | Microsoft Learn
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 6 | |
| 6 | |
| 6 |