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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vineshparekh
Helper I
Helper I

Hide blank column

Hi,

 

I have created blank column in Power Query by using the following step.

#"Added Custom" = Table.AddColumn(#"Sorted Rows", " ", each "")

 

However, I don't want this column to appear in the final results. Is there a way to hide the column when the data is closed and loaded?

 

Transpose option doesn't help to hide the column. Thank you! 

 

2 ACCEPTED SOLUTIONS
dufoq3
Super User
Super User

Hi @vineshparekh, if you do not need this column in final result, just delete it.

  • in power query you should use null value instead of "".
  • what is/was the purpose of creating column with name space and "" in every row?

Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

View solution in original post

adudani
Super User
Super User

hi @vineshparekh ,

to hide a column once loaded into the model:

1. select the elipsis:

adudani_0-1711491006023.png

 

2. hide

adudani_1-1711491026367.png

 

regardless, i agree with @dufoq3 , if you don't need the column, might as well remove it in power query before loading.

 

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash

View solution in original post

3 REPLIES 3
adudani
Super User
Super User

hi @vineshparekh ,

to hide a column once loaded into the model:

1. select the elipsis:

adudani_0-1711491006023.png

 

2. hide

adudani_1-1711491026367.png

 

regardless, i agree with @dufoq3 , if you don't need the column, might as well remove it in power query before loading.

 

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash
dufoq3
Super User
Super User

Hi @vineshparekh, if you do not need this column in final result, just delete it.

  • in power query you should use null value instead of "".
  • what is/was the purpose of creating column with name space and "" in every row?

Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

Hi @dufoq3 

I have PDFs coming each month and this query adds a column for the current month invoices.

For example,

Feb/24 and the next month it will add a column automatically with Mar/24 based on invoice. After the last column, I have few columns in Excel (Not connected to query) where it shows formula. Since there is a division between two sets of data, the query doesn't use the same format I provided for the table to the new column. (Mar/24). I have to do the same formatting for the newly added column. Where as, if I have a blank column, the query applies the format to the new column keeping blank column at last. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors