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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
NEcesito utilizar los totales para una medida, estoy utilizando el calculate, pero cuando llevo a la matriz, me lo genera por el elemento que lo engloba, alguien sabe como puedo tomar siempre los totales? o subtotales?
Solved! Go to Solution.
Hi @maniac234 ,
Based on the description, try using the following dax formula to get total.
Measure = SUMX(ALL('Table'), 'Table'[Unit])
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @maniac234 ,
Based on the description, try using the following dax formula to get total.
Measure = SUMX(ALL('Table'), 'Table'[Unit])
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Lo que yo necesito son los totales, para poder realizar otros calculos, te mando el print que en esos numeros que aparecen abajo de antiparacitarios, aparezca lo que esta arriba que es antiparacitarios
Hi @maniac234 ,
I am not very sure about your expectations, but if you are trying to get the subtotal values replicate in each granularity, you can use below syntax. else please share some sample data and an illustration of the desired output.
value = calculate(sum(table,[value]),allexcept(table,table[subgroup column]))
Hello @maniac234,
Can you please try this approach:
DynamicTotalsAndSubtotals =
IF(
ISINSCOPE(DimProduct[Product]),
SUM(FactSales[Sales]),
IF(
ISINSCOPE(DimRegion[Region]),
CALCULATE(SUM(FactSales[Sales]), REMOVEFILTERS(DimProduct)),
CALCULATE(SUM(FactSales[Sales]), ALL(DimRegion, DimProduct))
)
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 12 |