Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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 all
Can you help me. I would like some columns to show the average, while others the sum. In the first column, I want the 'total' to appear as 7 ( ie average of 6 and 8 ), Whereas column No of Complaints should be the Sum, as it is now. How can I achieve so? I attacj my sample Excel sheet. There is a colum in the Excel cnamed Units, which determine if the aggregation is either Sum or Average. I added a clolum CFL in the pbix for the parent Company ( which holds CPYA and CPYB) to appear in the visual. I will also use Filter as below.Many thanks.
Sample Data Sheet.
Company | Month | Metric | Value | Unit of Measure |
CPYA | 24-Jan | Revenue | 20000 | Units |
CPYA | 24-Jan | % Profit | 60 | % |
CPYA | 24-Jan | No of Complaints | 3 | Units |
CPYA | 24-Jan | % Leavers | 6 | % |
CPYB | 24-Jan | Revenue | 25000 | Units |
CPYB | 24-Jan | Percentage Profit | 30 | % |
CPYB | 24-Jan | No of Complaints | 6 | Units |
CPYB | 24-Jan | % Leavers | 4 | % |
CPYA | 24-Feb | Revenue | 10000 | Units |
CPYA | 24-Feb | % Profit | 20 | % |
CPYA | 24-Feb | No of Complaints | 2 | Units |
CPYA | 24-Feb | % Leavers | 8 | % |
CPYB | 24-Feb | Revenue | 12000 | Units |
CPYB | 24-Feb | % Profit | 10 | Percentage |
CPYB | 24-Feb | No of Complaints | 1 | Units |
CPYB | 24-Feb | % Leavers | 2 | % |
Solved! Go to Solution.
Thank you so much Ibendlin. It works amazingly. Words are not enough to thank you.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
76 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |