Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello everyone,
I have the following problem:
My database is organized by classes, so I have a variable that has the number of classes. (Like shown in FIGURE 1)
I created a 3 measures that take the value of 1 for some cases. Now, I want to add those 1´s but BY CLASS. Now, I have been able to sum it IN TOTAL, but I want to have the value of the LAST one. This is what I did:
The final goal is to create a donut chart that sums the kids that has small, medium or large attendance acording to the % of attendance (which is already calculated). I just want to classified it.
In FIGURE 2 the circled measure is the one I want to chart. As it is a measure, it is dynamic and changes according to the number of class. I want the donut to change as well.
FIGURE 2
Hi @saritart1
It seems you may try to use below measure.
Alta =
SUMX (
FILTER (
ALLSELECTED ( asistencia ),
asistencia[Clase] = MAX ( asistencia[Clase] )
),
asistencia[Intensidad alta]
)
Regards,
Cherie
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 51 | |
| 46 | |
| 23 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 110 | |
| 50 | |
| 32 | |
| 29 |