Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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))
)
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
22 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
31 | |
20 | |
15 | |
15 | |
14 |