The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hola,
Ojalá me puedan ayudar. Soy nuevo en Power BI. Configuré relaciones entre tablas, entre ellas la tabla "WEEKS" y la tabla " Sellout Qty"
Tabla WEEKS Tabla Sellout
WK MTH WK STORE_ID SKU QTY
WK14 WK14 11111111 9999 5
WK15 WK15 22222222 8888 7
WK16 WK16 33333333 7777 1
.... ....
Mi Pivot está confeccionada de tal manera que tengo en las columnas el MTH, las WEEKS y enseguida los valores.
Quedando una vista así
APR
SKU WK14 WK15 WK16
9999 1 2 3
8888 1 2 3
9999 1 2 3
Ahora, con un campo calculado con power pivot cree la siguiente función que me suma segúnlas últimas 4 semanas desde que creo el reporte:
=CALCULATE(SELL_OUT[Sum of SELLOUT_QTY];SELL_OUT[WEEK]="WK"&(WEEKNUM(TODAY())-1) || SELL_OUT[WEEK]="WK"&(WEEKNUM(TODAY())-2) || SELL_OUT[WEEK]="WK"&(WEEKNUM(TODAY())-3) || SELL_OUT[WEEK]="WK"&(WEEKNUM(TODAY())-4))
Si bien está sumando correctamente, la forma en que lo estoy mostrando básicamente me está replicando la misma data que la del sell out en esas semanas. Me ayudan por fa?
Además de sumarlas me gustaría sacar su promedio.
Hola, lo pudiste solucionar?
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
25 | |
13 | |
13 | |
8 | |
8 |