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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors