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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Syndicate_Admin
Administrator
Administrator

COUNT ROWS POR MES y AÑO base de un filtro

Hola a todos

Estoy empatando a calular el número total de filas por año y mes como se ve en el tabel beow firs, pero quiero contar las filas SSID donde el SSIDSUPP_DISRUPTION es más de 1200 puntos para ese mes. En el ejemplo siguiente quiero que el 2020 Jan rw diga 2. Puesto que hay solamente 2 SSID sobre el punto 1200. A continuación se muestra el Mesure i probado, pero dame 85 como en el siguiente tabla.

Medida = CALCULATE(COUNTROWS('SQ Audit Test Data'), FILTER('SQ Audit Test Data','SQ Audit Test Data'[SSID]<=MAX('SQ Audit Test Data'[SSID])))

bu965_2-1619476851869.png

bu965_1-1619476589361.png

1 ACCEPTED SOLUTION

hola

¿Funciona esto?

Surveyor Measure = IF(ISINSCOPE('SQ Audit Test Data'[SSID]),SELECTEDVALUE('SQ Audit Test Data'[SSID]),distinctcount('SQ Audit Test Data'[SSID])&"")

View solution in original post

8 REPLIES 8
Syndicate_Admin
Administrator
Administrator

Gracias a que esto funciona.

De nada.

Syndicate_Admin
Administrator
Administrator

hola

¿Funciona esta medida?

Measure = CALCULATE(COUNTROWS('SQ Audit Test Data'),'SQ Audit Test Data'[SSID]>=1200)

Hola Ashish

Al usar la medida dice "No se puede mostrar thetVisual". El formato = número entero

bu965_0-1619527341818.png

hola

En el Editor de consultas, cambie el tipo de datos de la columna SSID a Número.

Encontré el problema, estaba usando SSID que es un campo de texto y cambiarlo a SUPP_DISRUPTION, que es un número. Cuando hice esto el error desapareció, pero no actualizaría la tabla con apoyo cuando aadded el campo de medida.

bu965_1-1619528110067.pngbu965_2-1619528220078.png

Hola Ashish

No puedo obtener el total de las filas de recuento después de hacer algunos filtros en el objeto visual. Quiero que el cout de las filas diga 8 en lugar de 21. Los 21 son el recuento del SSID, ya que el SSID múltiple está en el tabel por año y mes para que lo que tiene 21 cuente del SSID. ¿Cómo consigo que la medida cuente 8 frente a la 21.

Surveyor Measure = IF(ISINSCOPE('SQ Audit Test Data'[SSID]),SELECTEDVALUE('SQ Audit Test Data'[SSID]),COUNTROWS('SQ Audit Test Data')&"")
bu965_0-1619610463573.png

hola

¿Funciona esto?

Surveyor Measure = IF(ISINSCOPE('SQ Audit Test Data'[SSID]),SELECTEDVALUE('SQ Audit Test Data'[SSID]),distinctcount('SQ Audit Test Data'[SSID])&"")

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Top Kudoed Authors