Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
26 | |
20 | |
13 | |
8 |
User | Count |
---|---|
76 | |
48 | |
46 | |
20 | |
16 |