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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply

Filter and pulling few columns from Dataflow in Power Query

Hello,

I am writing this post to check whether we can achieve the following scenario in Power Query or not. I have created a data flow with more than 30 columns that can be used for multiple reports. I want to filter the data and also pull only a few columns from Dataflow into the Power BI desktop. Please let me know if I could do this or not.

Thanks in advance,

Sri

7 REPLIES 7
Muniz_Felipe
Frequent Visitor

Hello @Srikanth7Gunnam , I had the same scenario as yours and I could accomplish the same by adding a simple Table.SelectColumns before that gigantic code that identifies the dataflow in the NAVIGATION step, and after that I have put all the columns I need, so that my dataflow didn't have to bring all the columns. Like this:


Navigation = Table.SelectColumns(#"b133dc8e-5a93-4ede-4370-04cadb13f4d6"{[entity="Data",version=""]}[Data],{"Colum1","Column2", "Column3", "Column4"})

If I have answered your question, please mark my post as solution 😄
Have a good day!

mahoneypat
Microsoft Employee
Microsoft Employee

Yes.  Choose Power BI Dataflows as your source/connector, navigate to your Dataflow, and then click on Choose Columns in the ribbon.

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hello Pat,

Thank you for your response. But, I don't want to import the entire data flow and choose columns or apply a filter. What I want to do is out of 30 columns in the dataflow pull only specified columns and apply a filter like where column1 = USA. 

Thanks,
Sri

Hi @Srikanth7Gunnam ,

If you do not want to import all the data into power query from dataflows, you can filter it directly in dataflows, then connect to it in power query.

The steps you have filtered data in dataflows are the same as in power query, like remove unnecessart columns, filter specific values etc.

1.png2.png

 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

Thank you for your reply. But, my data flow is a centralized data source for multiple reports. I can't filters in the dataflow as it has data about all the countries and I have reports for each country individually. So, I want to fold the query while importing. Can you please tell me whether we can do it or not?

Hi @Srikanth7Gunnam ,

As far as I know, when accessing dataflow entities from Power BI Desktop, no query folding takes place, even if the enhanced compute engine is enabled. Please refer this article: Power BI dataflows and query folding 

 

Perhaps you can submit the requirement to ideas and add your comments there to make this feature coming sooner: https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

As far as I know, Dataflows don't yet "fold" (push the filter/select back to the source), so each refresh will bring in the full data and then you reduce it from there.  I hope that changes soon.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors