cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jean-Ri
New Member

Summarizecolumns with Distinctcount and filter

Hi everyone!

 

I want to create a table from another one with SUMMARIZECOLUMNS.

 

Summary Table =
SUMMARIZECOLUMNS (
'Check-List Bayer / Autoelevador'[Campo de fecha del formulario],
"Maquinas por día", DISTINCTCOUNT('Check-List Bayer / Autoelevador'[Equipo]))
 
Now I have to make the DISTINCTCOUNT from the Equipo column but i need to exclude some values : "Eléctrica 1", "Eléctrica 2", "Eléctrica 3", "Eléctrica 4".
 

I tried adding a filter but the function does not work.

Does anyone have an idea?

 

Thanks a lot!

 

Jean-Ri

1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@Jean-Ri , Try like

Summary Table =
SUMMARIZECOLUMNS (
'Check-List Bayer / Autoelevador'[Campo de fecha del formulario],
"Maquinas por día",
calculate(DISTINCTCOUNT('Check-List Bayer / Autoelevador'[Equipo]), filter('Check-List Bayer / Autoelevador', not( 'Check-List Bayer / Autoelevador'[Equipo] in { "Eléctrica 1", "Eléctrica 2", "Eléctrica 3", "Eléctrica 4"}))) )



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

@Jean-Ri , Try like

Summary Table =
SUMMARIZECOLUMNS (
'Check-List Bayer / Autoelevador'[Campo de fecha del formulario],
"Maquinas por día",
calculate(DISTINCTCOUNT('Check-List Bayer / Autoelevador'[Equipo]), filter('Check-List Bayer / Autoelevador', not( 'Check-List Bayer / Autoelevador'[Equipo] in { "Eléctrica 1", "Eléctrica 2", "Eléctrica 3", "Eléctrica 4"}))) )



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!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors