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
Shelley
Continued Contributor
Continued Contributor

Cómo ignorar algunas segmentaciones en una información sobre herramientas, pero no todas

Hola a todos

Tengo un informe de Power BI para el que me gustaría agregar una información sobre herramientas. En el informe, hay segmentaciones como las siguientes:

Cliente

Región

Año fiscal

Quiero una información sobre herramientas que mantenga todas las segmentaciones de datos, excepto el año fiscal porque quiero mostrar los recuentos de orden histórico aunque el usuario esté mirando el YTD actual. Siempre tengo un problema para entender TODO y ALLSELECTED y ALLEXCEPT. ¿Puede alguien por favor ayudarme con el DAX para contar pedidos, mientras ignora el año fiscal seleccionado en la segmentación de datos? Aquí está la fórmula para empezar.

Recuento total de pedidos ?DISTINCTCOUNT([Orden])

4 REPLIES 4
parry2k
Super User
Super User

@Shelley si desea ignorar el filtro, sólo tiene que utilizar la siguiente medida

Measure = CALCULATE ( <your measure expression>, ALL ( Table[Fiscal Year] ) )

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionadas con Power BI.



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.

Shelley
Continued Contributor
Continued Contributor

@parry2k Esto es lo que quiero mostrar en la información sobre herramientas. Hay segmentaciones de datos en el cliente, los meses y el año fiscal, y los usuarios solo están mirando un año en la página del informe, pero para la información sobre herramientas, quiero mostrar el año actual y el año anterior, por lo que ignoraría el año fiscal seleccionado en la segmentación de datos, pero seguiría mostrando los datos por año en la información sobre herramientas. ¿Hay alguna manera de hacer esto con DAX?

Annotation 2020-07-28 102347.png

Dibujé esto tomando todas las segmentaciones - excepto el año fiscal - y copiándolas a la página de información sobre herramientas. Los sincron yo, y luego los escondí detrás de otros elementos. Por lo tanto, todos están ocultos en esta página. Parece un trabajo de hackeo, sin embargo. ¿Hay alguna manera de lograr esto con DAX?

@Shelley en la página de información sobre herramientas, agregue una columna en el desglose en la que desea filtrar esta página de información sobre herramientas (por supuesto, no agregue el año fiscal) y, a continuación, compruebe, asegúrese de mantener todos los filtros desactivados.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionadas con Power BI.



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.

Shelley
Continued Contributor
Continued Contributor

@parry2k ¡Gracias por la ayuda! Intenté esto y todavía no funciona. ¿Qué podría estar haciendo mal? No entiendo por qué el visual todavía muestra 2020 solamente.

Recuento total de pedidos NUEVO para la información sobre herramientas ?
CALCULATE(DISTINCTCOUNT([Order]), ALL('Daily_Calendar'[Fiscal_Year]))
Annotation 2020-07-28 102347.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