cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Devolver la tabla ignorando algunos filtros en DAX

Tengo mesa

Table1(Field1, Field2, Field3, Field4, Field5)

y en la función SUMMARIZE necesito poner Table1 con las columnas Field1, Field2, Field3 e ignorar los filtros en las columnas Field4, Field5.

No puedo hacer esto:

SUMX(
  SUMMARIZE(
     ALLEXCEPT(Table1, Table1[Field1], Table1[Field2], Table1[Field3]),
     Table1[Field1], 
     Table1[Field2], 
     Table1[Field3]
  ), 
  Field3
)

1 ACCEPTED SOLUTION
Super User IV
Super User IV

@wvadik , Probar como

SUMX(
RESUMEN(
calculateTable(Table1, all(Table1[Field4]), all(Table1[Field5])),
Tabla 1[Campo1],
Tabla 1[Campo2],
Tabla 1[Campo3]
),
Campo3
)

O

SUMX(
RESUMEN(
calculateTable(Table1, removefilters(Table1[Field4]), removefilters(Table1[Field5])),
Tabla 1[Campo1],
Tabla 1[Campo2],
Tabla 1[Campo3]
),
Campo3
)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
Super User IV
Super User IV

@wvadik , Probar como

SUMX(
RESUMEN(
calculateTable(Table1, all(Table1[Field4]), all(Table1[Field5])),
Tabla 1[Campo1],
Tabla 1[Campo2],
Tabla 1[Campo3]
),
Campo3
)

O

SUMX(
RESUMEN(
calculateTable(Table1, removefilters(Table1[Field4]), removefilters(Table1[Field5])),
Tabla 1[Campo1],
Tabla 1[Campo2],
Tabla 1[Campo3]
),
Campo3
)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Kudoed Authors