Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello All,
I have 5 source files on same folder.
I used Get Data -- Folder options to merge all files onto one file called Source.
I need to counts rows for each file.
Following measure counts all rows togather (Count all 5 files rows):
OMP 40 | ABC 8 | XYZ 10 | AEIOU 22 |
| Source.Name | Service | Esclation Team | Created | Owner |
| OMP | Telephone | test | 01/01/2022 | AB |
| ABC | 911 | test1 | 12/01/2021 | CD |
| XYZ | 211 | FF | 01/02/2022 | YZ |
| AEIOU | 007 | Pol | 12/31/2021 | UV |
help will be appreciated. Thanks
Solved! Go to Solution.
@sdhn if i have a table like this
The above measure gives me this
@sdhn try this
measure = CALCULATE(COUNT(tbl[Source.Name]),ALLEXCEPT(tbl,tbl[Source.Name]))
measure = CALCULATE(COUNT(tbl[Source.Name]),ALLEXCEPT(tbl,tbl[Source.Name]))
Source.Name is the column name. It is giving me a total row counts of all files. I want each file separately. Thanks
@sdhn if i have a table like this
The above measure gives me this
Actuall I got it. I need to click new measue and source.name. Thank You
Source.Name column has been created when I merged (transform & load) files onto one file. Probably becasue of this. This column was not a part of a files ealier. Under the source.name col. I have all 5 files names listed with extension. any thoughts
@sdhn provide a sample pbix, hard to guess from words.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 21 | |
| 20 | |
| 20 | |
| 14 | |
| 14 |