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 guys, I need your help. I've run out of attempts. It seems so simple, but I couldn't do it.
1) I just need to sum/avg/max up all the values of a single record.
For instance, I want 16 n_certif_B not 6 when I select a name in the table. Also, I want the average of '% total certif' for all 3 values (70,53%). How I do that? I've tried summarize(), but maybe because of the granularity of the table, it didn't aggregate when I select.
2) My main goal is:
That shouldn't be so tricky. 😞
Hope to get some help here. Thanks!!!
Anyone?
Thanks for your reply @Sandhya1234, but it didn't work.
Please, note I'm working with relationships (2 tables in this scenario).
Also the values come from a fact table where the records values are 0 or 1, so in the example above, the value of 6 are 6 rows with 1s values summed up. That's why I'm having trouble with MAX, because it usually shows 1.
Any other tip?
@sylvioros Try the below Measures.
Sum_n_certif_B = SUM(YourTable[n_certif_B])
Avg_Total_Certif = AVERAGE(YourTable[% total certif])
Max_n_certif_B = MAX(YourTable[n_certif_B])
Avg_Total_Certif_Selected = CALCULATE( AVERAGE(YourTable[% total certif]), FILTER(YourTable, YourTable[Name] = SELECTEDVALUE(YourTable[Name])) )
Total_Certif_A_B = CALCULATE( SUM(YourTable[n_certif_A]) + MAX(YourTable[n_certif_B]), FILTER(YourTable, YourTable[Name] = SELECTEDVALUE(YourTable[Name])) )
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 |
---|---|
66 | |
65 | |
57 | |
39 | |
28 |
User | Count |
---|---|
84 | |
60 | |
45 | |
41 | |
39 |