Power BI allow users to map fields from source to Power BI

jzellman

New Member
Joined
Aug 12, 2015
Messages
17
My users receive files with the columns in various orders. Each input is in a different order. Is there a way to allow the users to assign their source files fields to the fields in my Power BI?

For example;
My Power BI table (columns Acct Number, Dept, Hours, Dollars)
Users' file column order is (Dollars, Acct Number, Hours, Dept)

Any way to allow a parameter query or something else where the user would map this over?

Thanks
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
you mean like this?
Your fileAcct NumberDeptHoursDollars
User1DollarsAcct NumberDeptHours
User2HoursDollarsAcct NumberDept
User3DeptHoursDollarsAcct Number
 
Upvote 0
INDIRECT Table2User Table1
Acct NumberDeptHoursDollarsDollarsAcct NumberDeptHours
DollarsAcct NumberDeptHoursDollars UserAct UserDept UserHrs User
YoursAfter
Acct NumberDeptHoursDollars
Act UserDept UserHrs UserDollars User

Code:
// Table2
let
    Source = Excel.CurrentWorkbook(){[Name="Table2"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Acct Number", type text}, {"Dept", type text}, {"Hours", type text}, {"Dollars", type text}})
in
    #"Changed Type"

// Table1
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content]
in
    Source

// Append1
let
    Source = Table.Combine({Table2, Table1}),
    #"Removed Top Rows" = Table.Skip(Source,1)
in
    #"Removed Top Rows"
 
Last edited:
Upvote 0

Forum statistics

Threads
1,226,127
Messages
6,189,152
Members
453,526
Latest member
anyrandomtech

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top