Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
User | Count |
---|---|
53 | |
28 | |
19 | |
18 | |
14 |
User | Count |
---|---|
92 | |
86 | |
39 | |
23 | |
22 |