Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
PowerWhy
Helper IV
Helper IV

Excel PowerPivot linked to a datamodel with a calculated field

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

1 REPLY 1
v-stephen-msft
Community Support
Community Support

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.

vstephenmsft_1-1676443617620.png

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.           

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.