Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
when i load data into power bi, there are already 5 column named A,B,C,D,E.
What is the fast way to add multiple columns with names : F,G,H,K,L,M,N... with null value to the database.
I will change the value of the column later
thanks,
Solved! Go to Solution.
Create a Table with 2 columns
e.g.
-- ColumnName -----Value
Put the number of Columnname in columnname field and keep values as null
then go to advance editor
Pivot this table
with "No Aggregate"
you will get the result as single row with multiple column
Now 2 ways
Go to DAX and create a cross join between 2 tables one is source other is new columntable
CROSSJOIN function (DAX) - DAX | Microsoft Docs
2nd
Go to Power query and Add the column
in formula field put the name of table
Expand the table in and you will get multiple columns in quick way
Cross join - Power Query | Microsoft Docs
Proud to be a Super User!
Create a Table with 2 columns
e.g.
-- ColumnName -----Value
Put the number of Columnname in columnname field and keep values as null
then go to advance editor
Pivot this table
with "No Aggregate"
you will get the result as single row with multiple column
Now 2 ways
Go to DAX and create a cross join between 2 tables one is source other is new columntable
CROSSJOIN function (DAX) - DAX | Microsoft Docs
2nd
Go to Power query and Add the column
in formula field put the name of table
Expand the table in and you will get multiple columns in quick way
Cross join - Power Query | Microsoft Docs
Proud to be a Super User!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
81 | |
67 | |
62 | |
46 | |
45 |