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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
unclejemima
Post Patron
Post Patron

Create a new table with columns from another table...DAX or Query?

I have a table called "account".  In that table is customers AND suppliers.

 

I want to remove only the customers from that table.  There are many identifiers in the account table like "customer_or_supplier" column that lets me separate them.


So can I use DAX to make a new column showing only the records from account that are "customer_or_supplier" type of "customer"?

 

Or can I make a new table by doing a query for just "customer" account records, and then add in the columns I want (aka, postal code, etc.)

 

Thanks!

4 REPLIES 4
parry2k
Super User
Super User

@unclejemima there are many ways  you can do it, it all depends what you want to achive. Here are few ideas:

 

 

- in power query filter for "customer", this will only load customer in your model but if you use other type, you will not able to do it

- create duplicate column in power query and filter it for "customer"

- set page level/report level filter for "customer"

- use filter in DAX formulas



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks.

 

I've made a new column called "customer" with DAX.  Will that work?

 

Is there any way to make a NEW table for this instead of just coumns inside the table?


The customer/supplier table I use suppliers in other reports...I just want to create a new tabel that singles out the customers without affecting the original table.

Hi @unclejemima,

 

Have you solved your problem?

 

If you have solved, could you please share your solution or accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share some data sample which could reproduce your scenario and your desired output so that we could help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@unclejemima not sure if you need to create new column, you need to filter your rows. If you can share sample data it will help to get you the solution.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors