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

View all the Fabric Data Days sessions on demand. View schedule

Reply
MeggieD00dles
Frequent Visitor

How do I create a table of descriptive stats from numerous data sources?

I can't seem to find an answer that works for me, so looking to you all for help.

 

In my PBI report I have numerous data sources (in the example file, each "example table" is a separate data source in the report) and I want to create a way to build a table or matrix visual that displays the distinct count of [record_id] and the descriptive stats of [value] for each data source.

 

I want to make a table that outputs the following based on the example file 

 Table 1Table 2Table 3
Count of Records633
Min111
Max377
Mean245
Median245
Mode277
Standard Dev.0.822.031.95

 

Any help would be greatly appreciated!

1 ACCEPTED SOLUTION
ivana_tomekova
Advocate I
Advocate I

Hi... to get this stats for each table, you can use this function in Power Query: 

let
Source = Table.Profile(#"YourTableName")
in
Source

 

This will create a table, where each column of your table will be represented by single row and information about Min, Max, StandardDeviation, Average, Count, NullCount and DistinctCount will be provided. On top of it, you can create some or your own measures, e.g. completness, etc.... but is missing Mean, Mode and Median

ivana_tomekova_0-1758552120094.png

 



You can do it for all tables, add new column with table name and then append them to a final single table 😉

I hope this helps 🙂

 

View solution in original post

4 REPLIES 4
v-lgarikapat
Community Support
Community Support

Hi @MeggieD00dles ,

Thanks for reaching out to the Microsoft fabric community forum.

@lbendlin , @ivana_tomekova Thanks for the prompt response

@MeggieD00dles 

I wanted to follow up and confirm whether you’ve had the opportunity to review the information  provided by @lbendlin , @ivana_tomekova  If you have any questions or need further clarification, please don’t hesitate to reach out.

 

We appreciate your collaboration and support!

Best regards,
Lakshmi.

Hi @MeggieD00dles ,

 

We’d like to confirm whether your issue has been successfully resolved. If you still have any questions or need further assistance, please don’t hesitate to reach out. We’re more than happy to continue supporting you.

We appreciate your engagement and thank you for being an active part of the community.


Best Regards,
Lakshmi.

ivana_tomekova
Advocate I
Advocate I

Hi... to get this stats for each table, you can use this function in Power Query: 

let
Source = Table.Profile(#"YourTableName")
in
Source

 

This will create a table, where each column of your table will be represented by single row and information about Min, Max, StandardDeviation, Average, Count, NullCount and DistinctCount will be provided. On top of it, you can create some or your own measures, e.g. completness, etc.... but is missing Mean, Mode and Median

ivana_tomekova_0-1758552120094.png

 



You can do it for all tables, add new column with table name and then append them to a final single table 😉

I hope this helps 🙂

 

Or the DAX equivalent COLUMNSTATISTICS()

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors