cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wvadik
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
amitchandak
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
amitchandak
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
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

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