Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |