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 September 15. Request your voucher.

Reply
Riddhi_06
Frequent Visitor

Getting exact column count when columns are more than 1000

How can we get an exact column count when the column count is exceeding 1000 in power bi?
In power query it is shown as 999+
What can be done?

4 REPLIES 4
Anonymous
Not applicable

Hi @Riddhi_06 ,

 

In Power Query you can use the Table.ColumnCount function. So if you load your main data into a table called Table, create a blank query called ColumnCount and use this code in it

let
    Source = Table.ColumnCount(TableName)
in
    Source

vstephenmsft_0-1659687651050.png

 

 

Best Regards,

Stephen Tao

 

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

 

Riddhi_06
Frequent Visitor

@Vijay_A_Verma 
i want the total column count 
like here in the above screenshot 35 columns are present, if there the value is 999+ for columns
how to get the exact count 

To get exact count, you need to issue following formula where Custom1 should be replaced by previous step

= Table.RowCount(Custom1)*Table.ColumnCount(Custom1)

You can also refer to table directly. In below formula, I have pulled the table from SQL Server

= Table.RowCount(dbo_DimCustomer)*Table.ColumnCount(dbo_DimCustomer)

Vijay_A_Verma
Super User
Super User

At the bottom, select Column profiling based on entire data set. Then it will show complete count for the column when you select Column profile.

1.png

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.

Top Solution Authors