Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola
Tengo una medida muy simple en la que me he quedado atascado.
Quiero sumar la cantidad $ de una tabla basada en 3 condiciones + eliminar la segmentación de fecha en la página del informe.
Relación es la tabla de fechas está vinculada a una tabla de datos PnL por fecha. La tabla Date tiene una segmentación de datos.
Esta es mi medida:
CALCULATE(SUM(PnL[$]),
Solved! Go to Solution.
Thanks Pragati11.
I did try a modification of this function with mixed results. When using Filter(ALL(Date), then the only field that can be filtered is date.
Here's what I did, however some of my detail views didn't submit up everything properly at the detail level.
CALCULATE (SUM (PnL [$]),
No @luketerry,
Le sugeriré escribir su dax de la siguiente manera:
CALCULATE(SUM(PnL[$]),
Thanks Pragati11.
I did try a modification of this function with mixed results. When using Filter(ALL(Date), then the only field that can be filtered is date.
Here's what I did, however some of my detail views didn't submit up everything properly at the detail level.
CALCULATE (SUM (PnL [$]),
No @luketerry
Tratar
CALCULATE (
SUM ( PnL[$] ),
FILTER (
PnL,
PnL[Type] = "Asset" && PnL[Class] <> "Overhead" && PnL[Sold?] = "False"
),
ALL ( PnL[Date] )
)
Por favor, marque la pregunta resuelta cuando haya terminado y considere dar un pulgar hacia arriba si las publicaciones son útiles.
Póngase en contacto conmigo de forma privada para obtener asistencia con cualquier necesidad de BI a gran escala, tutoría, etc.
Salud
Gracias A. B
Desafortunadamente esto tampoco funciona. Incluso simplifiqué la estructura eliminando la 'tabla de fechas' y cambié la segmentación de fecha de la 'tabla de fechas' al campo de fecha en los datos PnL.
Este es el resultado que obtengo cuando tengo ALL(PnL[Date])) - todavía filtra para ser sólo 12/1/2020 datos
No @luketerry,
¿Puede compartir amablemente la sintaxis exacta de su medida por favor; con el fin de entender el error exacto.?
Actualmente no puedo entenderlo completamente ya que lo has dividido en dos.
Además, intente compartir algunos datos de ejemplo.
Gracias
Pragati
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |