Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
htpbi
Helper I
Helper I

artículos sin valor todavía apareciendo

Estoy mirando los datos de ventas, cada línea de pedido en la tabla de datos es un producto con una categoría. Cuando miro 2020 vs 2019 todavía tira en categorías antiguas que no se han vendido desde 2018 por lo que tengo todas estas filas en mi tabla sin valores. No tengo elementos de presentación sin datos comprobados. ¿Alguna idea?

11 REPLIES 11
v-lili6-msft
Community Support
Community Support

Hola @htpbi

Desde la captura de pantalla, le gusta que habilite mostrar elementos sin datos para el campo categroy en la matriz, podría compartir su archivo pbix de muestra para que tengamos una prueba, debe haber algo mal en otro.

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hola @v-lili6-msft

Publiqué un archivo de muestra. No tengo elementos de presentación sin datos comprobados.

hola @htpbi

El archivo de ejemplo es una conexión en vivo al conjunto de datos power bi, por lo que no pudimos abrirlo.

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@htpbi , Hop no tienes medida general, incluso esto se filtra

recomienda

YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))
Last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd('Date'[Date],-1,Year),"12/31"))
This year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR('Date'[Date]),"12/31"))
Last year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR(dateadd('Date'[Date],-1,Year)),"12/31"))
Last to last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd('Date'[Date],-2,Year),"12/31"))
Year behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-1,Year))
//Only year vs Year, not a level below

This Year = CALCULATE(sum('order'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))
Last Year = CALCULATE(sum('order'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])-1))

recomienda

https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a

@htpbi , Acaba de ver la última actualización, han añadido +0 ?

Greg_Deckler
Super User
Super User

No es realmente suficiente información para seguir adelante, por favor primero compruebe si su problema es un problema común enumerado aquí: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Además, consulte este post sobre cómo obtener respuesta a su pregunta rápidamente: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

Las partes más importantes son:
1. Datos de muestra como texto, utilice la herramienta de tabla en la barra de edición
2. Salida esperada de los datos de muestra
3. Explicación en palabras de cómo obtener de 1. a 2.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Pragati11
Super User
Super User

hola @htpbi ,

Por favor, comparta screesnhots alrededor de su problema. Es difícil visualizar lo que está tratando de transmitir aquí.

Gracias

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

parry2k
Super User
Super User

@htpbi cuáles son sus medidas y cómo las está visualizando? Tal vez está tratando de mostrar 2019 vs 2018 la forma en que está tratando de visualizar los datos.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Tengo una matriz con categoría en las filas y luego medidas en los valores. Está ensuciado en 2020 y mis medidas son así:

año actual-suma (ventas netas)

el añopasado, IF (HASONEVALUE ( '4-4-5 Calendar'[4-4-5 Year] ),CALCULATE(SUM(ventas netas),FILTER (ALL ( '4-4-5 Calendar' ),'4-4-5 Calendar'[4-4-5 Year ] - VALORES ( '4-4-5 Calendario'[4-4-5 Año] ) - 1&& CONTIENE(VALORES ( '4-4-5 Calendario'[DayOfYear] ),'4-4-5 Calendario'[DayYearOf],'4-4-5 Calendario'[DayOfYear] )),),BLANK ())

Porque estoy usando un calendario de venta al por menor. Todos mis datos fluyen correctamente, pero si me desplazo hacia abajo en mi gráfico tengo todas estas categorías sin datos.

Screen Shot 2020-08-06 at 9.35.56 AM.png

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors