Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
If I have a table like this in power query:
Supplier ID | Region | Survey status? |
1535 | Germany | Complete and Up to Date |
1563 | Germany | Complete and Up to Date |
2786 | Germany | Complete and Up to Date |
1612 | France | Complete but Out of Date |
2057 | Germany | Incomplete |
4309 | Germany | Complete and Up to Date |
3717 | Brazil | Complete and Up to Date |
1867 | Spain | Not Submitted |
4130 | Brazil | Complete and Up to Date |
4624 | China | Complete and Up to Date |
4068 | China | Complete and Up to Date |
3531 | Germany | Complete and Up to Date |
2469 | Germany | Complete but Out of Date |
2666 | China | Complete and Up to Date |
4798 | China | Complete and Up to Date |
4079 | Germany | Complete and Up to Date |
1734 | Germany | Complete and Up to Date |
4650 | Germany | Complete and Up to Date |
1770 | France | Complete but Out of Date |
3047 | Germany | Complete and Up to Date |
1605 | Germany | Complete and Up to Date |
2635 | Brazil | Complete and Up to Date |
4223 | Spain | Complete and Up to Date |
1491 | Brazil | Complete and Up to Date |
4412 | China | Complete and Up to Date |
2359 | China | Complete and Up to Date |
2356 | Germany | Complete and Up to Date |
1373 | Germany | Complete but Out of Date |
4659 | China | Complete and Up to Date |
3961 | China | Complete and Up to Date |
How do i get it into this format:
Count of Supplier ID | Column Labels | ||||
Row Labels | Complete and Up to Date | Complete but Out of Date | Incomplete | Not Submitted | Grand Total |
Germany | 51 | 1 | 3 | 55 | |
Brazil | 30 | 6 | 36 | ||
France | 63 | 8 | 11 | 1 | 83 |
Spain | 8 | 1 | 2 | 11 | |
China | 281 | 36 | 58 | 9 | 384 |
Grand Total | 433 | 45 | 78 | 13 | 569 |
essentially i want to do a count of the supplier ID's per country for each status they are in. Please help!
Solved! Go to Solution.
Hi @Anonymous ,
if you start the pivot-operation, and select Supplier ID as Values column, click on the advanced options below and change the default-aggregation from Sum to Count.
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
Hi @Anonymous ,
if you start the pivot-operation, and select Supplier ID as Values column, click on the advanced options below and change the default-aggregation from Sum to Count.
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |