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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Data Flow-Funcktion

Hello all, 

I have a problem in dataflow. we get the data in csv and doing the etl stage in dataflow. after a few steps we bring the data to the desired form. We also have a separate manual excel file (Mapping Table) that shows which region and category the BIDs are. When there is a change in our mapping table, we need to go into this function and change it manually and we want to automate this step. I would appreciate your help.

dodurukan_0-1680011876324.png

 

1 REPLY 1
jennratten
Super User
Super User

Hello - I recommend that you identify the correct logic to use so that you can drive the list of columns programatically instead of having to define them manually.  For example, if the columns should be limited to those with a name of Column3 or with names that are 4 characters long and begin with B, you could do it like this:

Table.SelectColumns ( #"Prior Step Here",  List.Select ( Table.ColumnNames ( #"Prior Step Here" ), each _ = "Column3" or ( Text.Length ( _ ) = 4 and Text.StartsWith ( _, "B" ) ) ) )

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.