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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Paint_bynumbers
Regular Visitor

Count returns wrong result?

I load only one csv File with 479388 rows in Power BI.

If I do a “COUNTROWS(mytable)” I get 479388.

If I do “COUNT(mytable[%Key])” on a Key Value I get 229812854544.

The values in %Key are like the “50|13554”. 

 

What is creating this number 229812854544? I excepting the number should not be higher then 479388.

Can somebody explain what I do wrong? What is Power BI counting?

3 REPLIES 3
Paint_bynumbers
Regular Visitor

I think I found my mistake, I created a new column instead of a new measure.

 

But I’m still confused what this new column counts?

Ttaylor9870
Helper III
Helper III

What does 50|13554 mean? Is it suppose to be a text column but is formatted as numerical?

“50|13554” means nothing it’s only a Key like Order number. It’s is formatted as text in the data modell.

But what I want to know is how many rows are in the table with a %key and how many are unique.

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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