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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Excel Power Query

I need to create a new sheet in the existing excel sheet using Power Query in Excel, wherein only the names without corresponding GSTIN entries are displayed automatically.

For example:

NameGSTIN
Sophia24HDS2000ZOM1
Max 
William 
Layla24HDS2000ZOM1

I want to display the above name without the GSTIN in new sheet using excel power query

4 REPLIES 4
Anonymous
Not applicable

I thought your question was "how do I keep only names that have no values as the corresponding GSTIN. If so, you can just import the table into Power Query, and then in the GSTIN column, right click it on a null or empty value, and choose "Equals". This will give you all rows where the GSTIN is blank. Then just load to an Excel sheet.

 

--Nate

dufoq3
Super User
Super User

Hi @Anonymous, 

  1. import your data to Power Query
  2. right click GSTIN --> Remove
    dufoq3_0-1713080838089.png
  3. close and load your query into new sheet

But remember, @lbendlin mentioned importat thing on purpose: Power Query can not create new sheet everytime you load new data. It'll just update existing query in existing sheet where you loaded it for the first time.


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

mahenkj2
Solution Sage
Solution Sage

Hi @Anonymous,

 

Yes you can.

 

In excel you convert this data as table and go through query from a table in Data tab. You can do necessary transformation in power query (split by delimiter and so on) and when you finish, you can either directly clase the query and it will create a new sheet and load as a new table in a new sheet.

mahenkj2_0-1713029920451.png

 

 

Every time you refresh, that new sheet will be refreshed.

 

 

lbendlin
Super User
Super User

Power Query has no idea what a "sheet"  is.  It's just a query.  You need to then take the results of the query and place them somewhere, in a sheet for example.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.