Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
La tabla es
-----------------------------------------
Precio del producto de City Store
Toronto A TV1 500
Toronto B TV2 550
Portátil Ottawa C1.600
Portátil Ottawa D2.650
---------------------------------------------------
Quiero mostrar como
La tabla es
-----------------------------------------------------------
Relación de precios de productos de City Store
Toronto A TV1 500 500/1050
Toronto B TV2 550 550/1050
Portátil Ottawa C1 600 600/1250
Ottawa D Portátil2 650 650/1250
---------------------------------------------------
¿Cómo crear una nueva medida para mostrar la imagen de arriba?
@rsbin , Gracias por su ayuda.
ALLEXCEPT(YourTable, YourTable[City] )
significa que solo use el filtro de la ciudad.
Tengo otra pregunta. Si mi tabla tiene una fecha de columna. Los datos anteriores son date=today. Tenemos unos días. ¿Cómo obtener 1050, 1250?
@fdavef ,
Puede crear 2 columnas calculadas:
TotalPrice = CALCULATE( SUM( [Price] ),
ALLEXCEPT(YourTable, YourTable[City] ))
Ratio = [Price] & "/" & [TotalPrice]
Espero que esto sea lo que estás buscando.
Saludos
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.