Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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])) )
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 |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |