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.
Hello everyone!!
I´m new in this tool and I need your help in how to sum values in the same column
Here´s the situation:
I have one table and in one column I have different classifications and another column I have total of amounts.
The column of classification have different classifications but those classifications are repeated in all column and I need sum the ammounts for each classification
can you please help me with
Thanks and regards
Solved! Go to Solution.
Using measures:
VentasdeFria=Calculate(Sum('Tabla'[Ventas]),Filter(Tabla,Tabla[Clasificacion]="Fria"))
VentasdeSubProductos=Calculate(Sum('Tabla'[Ventas]),Filter(Tabla,Tabla[Clasificacion]="SubProductos"))
VentaFriaandSubProductos=[VentasdeFria]+[VentasdeSubProductos]
or If you want in 1 measure sum Both:
VentasdeFriaandSubProductos=Calculate(Sum('Tabla'[Ventas]),Filter(Tabla,Tabla[Clasificacion]="Fria" || Tabla[Clasificacion]="SubProductos"))
Hi, please post sample data.
Your data looks like:
Columna A Columna B
CLASS1 100
CLASS2 80
CLASS3 70
CLASS2 50
CLASS3 70
And you need in a visualization
CLASS1 100
CLASS2 130
CLASS3 140
TOTAL 370
Is correct?
Hello @Vvelarde thanks for the quick answer.
This is for the visualization mode and I got it!! But we can do something in a table level like in a new column or calculation because I need with the new measure sum different classification for example
sum Classification "Fria" and Classification "Subproductos" in a new calculate fiel so I can Graph the new calculate field.
Please let me know if you need further information
Regards.
Using measures:
VentasdeFria=Calculate(Sum('Tabla'[Ventas]),Filter(Tabla,Tabla[Clasificacion]="Fria"))
VentasdeSubProductos=Calculate(Sum('Tabla'[Ventas]),Filter(Tabla,Tabla[Clasificacion]="SubProductos"))
VentaFriaandSubProductos=[VentasdeFria]+[VentasdeSubProductos]
or If you want in 1 measure sum Both:
VentasdeFriaandSubProductos=Calculate(Sum('Tabla'[Ventas]),Filter(Tabla,Tabla[Clasificacion]="Fria" || Tabla[Clasificacion]="SubProductos"))
hello @Vvelarde thanks for your help now is work properly with that calculation
Now I can sum values in the same column
Thanks for all your support
Regards.-
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 |
---|---|
68 | |
54 | |
53 | |
36 | |
34 |
User | Count |
---|---|
84 | |
71 | |
55 | |
45 | |
43 |