Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hola
Tengo las siguientes tablas
Tabla 1 - Datos de ventas
AñoPeríodo -formato 2304
Volumen
Precio
SKU
Tabla 2 - Puente de calendario
YearPeriod - formato 2304 (número)
Tabla 3 - Calendario (marcado como tabla de fechas)
Fecha de inicio
Fecha final
Fecha
AñoPeríodo
Cuadro 4 - Medidas
cantidad*Precio -
CALCULATE(sumx('Datos de ventas','Datos de ventas'[Volumen],*'Datos de ventas'[Precio]),'Datos de ventas','Puente de calendario','Calendario')
Sales LY - CALCULATE([qty*Price],DATEADD('Calendario'[Fecha],-1,AÑO),'Calendario','Datos de ventas','Puente de calendario','Medidas')
Con las siguientes relaciones
Datos de ventas [YearPeriod] muchos a uno Puente de calendario[YearPeriod]
Calendario [YearPeriod] muchos a uno Puente de calendario [YearPeriod]
Cuando creo un pivote que trae YearPeriod del calendario como una fila y luego las dos medidas, las ventas están en blanco, aparte del total general que coincide con el precio de cantidad*.
Me hubiera gustado que llenara otros años de datos que coincidan con los del año pasado, soy nuevo en esto y trato de aprender de YouTube / foros, etc., pero parece que no puedo encontrar una respuesta a lo anterior.
Gracias de antemano.
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.