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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Source File Columns I Don't Want In My Data Model

Dear Community, 

 

I am using source file as the below one:

 

1.PNG

 

However, my organization is making changes constantly, and starting today i have 2 more columns, which i don't want to see at all. As you can imagine my whole data model suffers because of this change. Can someone help me keep my original structure of the report? Below are the new ones:

 

2.PNG

 

Thank you!

 

Atanas

1 ACCEPTED SOLUTION
ImkeF
Community Champion
Community Champion

Hi @Anonymous ,

click on the first step of your query with your mouse and do the selection.

This will automatically insert a step for you.

 

image.png

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

8 REPLIES 8
nvprasad
Solution Sage
Solution Sage

Hi

 

The other workaround within PowerBI is, In PowerQuery Editor do the following steps.

1. Do the unpivot transformation to get all the groups into one column

2. Split using delimiter then regroup using first & last value as per your exiting group logic

3. Pivot it back.

 

Thanks 

Venkata Nalla

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.
ImkeF
Community Champion
Community Champion

Hi @Anonymous ,

as the first step before all other transformations:

  • Check the column you want to keep
  • Righclick the mouse
  • Click: Remove other columns

This will keep your column names clean and managable.

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Anonymous
Not applicable

@ImkeF 

 

thank you, but how do i put that in context? I already applied many steps to transform my data (with the old structure). Should i apply that as an additional step? 

thank you,

 

Atanas

ImkeF
Community Champion
Community Champion

Hi @Anonymous ,

click on the first step of your query with your mouse and do the selection.

This will automatically insert a step for you.

 

image.png

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Anonymous
Not applicable

@ImkeF 

 

Dear Imke, 

 

It worked like a charm! Just one adjustment on my end. It worked pretty well after the "promoted headers" step!

 

I don't experience the referesh problem anymore. Thank you for this information!!!

 

@amitchandak 

 

Thank you for your quick reply and adding Imke to to the discussion!

 

One last thing. Here's a link to a webinar hosted by Chriss Webb: https://www.youtube.com/watch?v=mGnNn6gnrKk

 

It focuses on pretty same problems. Hope it will help you as well. 

 

Stay safe!

 

Atanas

nvprasad
Solution Sage
Solution Sage

Hi

 

The other workaround within PowerBI is, In PowerQuery Editor do the following steps.

1. Do the unpivot transformation to get all the groups into one column

2. Split using delimiter then regroup as per your exiting logic

3. Pivot it back.

 

Thanks 

Venkata Nalla

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.
amitchandak
Super User
Super User

@Anonymous , The best way is to keep the data model stable or add columns at the end. In this way, I do not think you can avoid changes to data model.

 

@ImkeF , Any suggestions on this

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak 

 

Thank you Sir!

 

I do realize that, but no one asked me when they submitted the request to IT...

 

I would really appreciate any help...

 

Atanas

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.