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.
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!
@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
@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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |