Refer to columns by means other than the header. Like the RC cell references in Excel, let's have a way to say "Delete the 3rd column" whether or not it's named "Column 3." This could be limited in scope to the Choose Columns and Rename commands.
3 Comments
- fbcideas_migusrNew MemberThanks for the feedback - Note that this can be done today based on M formula tweaks. There's a Table.ColumnNames function that you can use on any table and will return a list of column names (sorted by "natural order"). So, to reference "the second column of a table" you could use Table.ColumnNames(yourTable){1} For example, this formula removes the second column of the table: = Table.RemoveColumns(yourTable,{Table.ColumnNames(yourTable){1}})
- Christann
Advocate IV
'@Miguel Llopis Thank you! Your work around is very handy! - fbcideas_migusrNew MemberStatus added:Needs Votes
Recent ideas
Justification Prompts When Downgrading or Removing Sensitivity Labels in Power BI Desktop
Description Currently, organizations can configure Microsoft Purview sensitivity label policies to require users to provide a justification when removing a label or lowering its classification. T...vvargasv10 hours agoMicrosoft EmployeeNew10Views0likes0CommentsVisual Type Defaults in Visualization Pane
This would change my life with fussy clients and client/public facing apps. In addition, it would allow me to add more value to the clients on retainers who do not have the 'hours' to allocate to...IolaWhiteley11 hours agoAdvocate IINew45Views7likes0CommentsMatrix: column totals as a bar chart docked to the edge
What's missing Data bars already work on the Total row and column through conditional formatting, so row totals can be read as length. Column totals cannot: they render as a horizontal bar inside a ...Sayurivalente12 hours agoRegular VisitorNew78Views6likes1CommentAllow Bookmarks to Affect Multiple Report Pages
Description: I would like to request the ability for a single Power BI bookmark to affect and maintain a state across multiple report pages, rather than being limited to a single page. For example,...Josegonzalez2112 hours agoNew MemberNew20Views4likes1CommentFeature Proposal: Expandable/Collapsible Page Sections for Reports on Same Semantic Model
Subject: Feature Proposal: Expandable/Collapsible Page Sections for Reports Using the Same Semantic Model Dear Microsoft Power BI Team, I would like to propose an enhancement to the Power BI report...Dr7awb12 hours agoNew MemberNew32Views1like1Comment