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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.