cancel
Showing results for
Did you mean:

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Frequent Visitor

## formula Contar

Hola

buenos dias,  mi consulta es la siguiente tengo esta formula que me cuenta el numero de vendedores que tengo , pero necesito filtrar los que tenia en Diciembre 2017, la cantidad de vendedores los cuenta, pero que tendria que filtro tendria que agregar a la formula para tener los que sean en la fecha "01/12/2017"

Agentes 2017 = CALCULATE(COUNTX(Data_Ingresos;Data_Ingresos[Red]);Data_Ingresos[Mes])

1 ACCEPTED SOLUTION
Employee

Hi @gabcar,

You can drag these columns together simply like below. The measure could be:

`Measure = Count('table1'[Vendedor])    // or distinctcount()`

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
Employee

Hi @gabcar,

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Employee

Hi @gabcar,

```Agentes 2017 =
CALCULATE (
COUNTX ( Data_Ingresos; Data_Ingresos[Red] );
Data_Ingresos[Mes] = DATE ( 2017; 12; 1 )
)
```

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

I have a table, one column Vendedor, another column month, I need to count how many Vendedor, are in month =01/12/2017

Im new with this  dax formulas!

regards

Gabriel

 Vendedor Month Vendedor 1 1/11/2017 Vendedor 2 1/11/2017 Vendedor 1 1/12/2017 Vendedor 4 1/12/2017 Vendedor 5 1/12/2017 Vendedor 6 1/12/2017 Vendedor 7 1/12/2017 Vendedor 8 1/12/2017 Vendedor 1 1/01/2018 Vendedor 2 1/01/2018 Vendedor 11 1/01/2018 Vendedor 12 1/01/2018 Vendedor 13 1/01/2018
Employee

Hi @gabcar,

You can drag these columns together simply like below. The measure could be:

`Measure = Count('table1'[Vendedor])    // or distinctcount()`

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

#### Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

#### New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors