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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

La segmentación no funciona cuando se combinan consultas.

Hola. He creado una página con la tabla A y quiero usar la segmentación de mes para esa página.
Pero no tengo la columna Mes en la Tabla A.

Así que fusioné la columna Mes de la Tabla B. Tabla A y B están relacionados por la relación de varios a varios. Pero mi problema es que la segmentación de mes todavía no funcionará para esa página. ¿Hay alguna otra sugerencia para mí?

8 REPLIES 8
Syndicate_Admin
Administrator
Administrator

Hola, @zhrhr

Si desea utilizar PAC_ALIAS y Mes para filtrar dos gráficos en el informe al mismo tiempo, para los datos del archivo pbix que proporcionó, parece que es imposible. ¿Ha realizado alguna modificación basada en los archivos pbix relevantes que proporcionó, puede proporcionar una nueva muestra eliminando información confidencial?

Saludos

Caiyun Zheng

amitchandak
Super User
Super User

@zhrhr , ¿Tiene A tiene cualquier columna de fecha de cualquier columna que indique al mes para trabajar con.

Segundo. Cómo se relacionan A y B. ¿Podemos mover la fecha/mes de B a A como una nueva columna, en lugar de muchos a muchos se unen

Ver mi video sobre cómo copiar : https://www.youtube.com/watch?v=czNHt7UXIe8

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
parry2k
Super User
Super User

@zhrhr otros ya han proporcionado la solución, ¿lo intentaste? Si no es así, ¿puede asegurarse de probar la solución existente, si ya lo ha intentado, ¿cuál fue el resultado final? ¿Funcionó?



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.

ebeery
Memorable Member
Memorable Member

@zhrhr ¿Me parece que tal vez no tienes una tabla de citas común en tu modelo? Si ese es el caso, recomiendo encarecidamente el uso de uno.

Esto le permitiría relacionar la tabla A y B con la tabla de fechas común con relaciones de uno a varios y, a continuación, usar el mes de la tabla de fechas para filtrar ambas tablas.

https://docs.microsoft.com/en-us/power-bi/guidance/model-date-tables

https://www.sqlbi.com/articles/creating-a-simpler-and-chart-friendly-date-table-in-power-bi/

Anonymous
Not applicable

@zhrhr Estoy echando un vistazo al .pbix que compartiste en ese hilo y para ser honesto tu modelo no tiene mucho sentido para mí.

Si su tabla "por bien" (que asumo que es la "Tabla A" a la que se refiere) no contiene datos en la granularidad del Mes (solo por Año), ¿qué espera que suceda exactamente cuando lo filtra por un Mes?

parry2k
Super User
Super User

@zhrhr, no es una práctica estándar, lo que se hace en el diagrama de relaciones, muestra la tabla b -> tabla de filtro a, debería ver esto en las ventanas de relación. Comparte la imagen aquí.



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.

Anonymous
Not applicable

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.