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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Contar valores

Buenas tardes comunidad! Tengo una tabla en la cual para cada cliente me dice la cantidad de visitas semanales con el siguiente formato.

Christian_87_0-1684329439214.png

 

Necesito realizar una tabla resumen para poder contar rápidamene la cantidad de clientes que tienen 1 visita semanal, y la cantidad que tienen 2 visitas. Debería tener un formato similar al de la tabla de abajo. 

Christian_87_1-1684335399243.png

Para este ejemplo serían 3 clientes que tienen una visita semanal, y 6 clientes con 2 visitas.

 

El dato de visitas en la tabla original proviene de contar la cantidad de filas que tiene cada cliente con este formato

Christian_87_0-1684335924804.png

 

Podrían guiarme sobre como hacer esto? Desde ya muchas gracias!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Provide another way of thinking.

In PowerQuery Editor --> Reference the table;

vcgaomsft_0-1684462688231.png

Selcet these columns and right-click --> unpivot columns;

vcgaomsft_1-1684462744622.png

Filter rows;

vcgaomsft_2-1684462803412.png

Group rows

vcgaomsft_3-1684462875554.png

Then create a table visual and drag the [Count] with the measure count of [Count] into it.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

Provide another way of thinking.

In PowerQuery Editor --> Reference the table;

vcgaomsft_0-1684462688231.png

Selcet these columns and right-click --> unpivot columns;

vcgaomsft_1-1684462744622.png

Filter rows;

vcgaomsft_2-1684462803412.png

Group rows

vcgaomsft_3-1684462875554.png

Then create a table visual and drag the [Count] with the measure count of [Count] into it.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

 

Anonymous
Not applicable

Muchas gracias @Anonymous !! Funciona perfecto para lo que necesitaba hacer! 

amitchandak
Super User
Super User

@Anonymous , You need to do dynamic Segmentation for that

Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Muchas gracias @amitchandak !!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.