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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Altiano
Regular Visitor

Repeats of a value in a column

Hi everyone

I have a question that I think should be easy but I can't solve it 
I have the following table

Id Center State Person
--------- ----- -------- 1 1 P1 1 1 P2 1 2 P3 1 3 P4 1 3 P5 I wanted to show for "center 1", how many times appears "state 1", "state 2", ...... that is to say "Center Id" "State 1" "State 2" "State 3"
----------------------------------------- 1 2 1 2 How can I solve it? Thanks in advance

 

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Picture1.png

 

State Count : =
COUNTROWS(Data)
 
 
 
 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

amitchandak
Super User
Super User

@Altiano , Create a new column

State name  = "State " & [state]

 

Put this on a column of Matrix and take count of state on values

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

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.