Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I'm new, tips are appreciated, thanks.
I want to return the most recent date for each computer in my data set. My data set is from multiple CSV files in a folder (all CSV files are formated the same). The formula I am using is returning the most recent date for each computer in each CSV file (which I dont want). For example ( [Last Updated] is my calculated column )
| FileName--------- | Computer | Updated------- | Last Updated--- |
| 06-01-2020.csv | A | 05-15-2020 | 05-15-2020 |
| 06-01-2020.csv | A | 03-21-2020 | 05-15-2020 |
| 06-01-2020.csv | B | 03-20-2020 | 03-20-2020 |
| 06-01-2020.csv | C | 03-19-2020 | 03-19-2020 |
| 04-30-2020.csv | A | 03-21-2020 | 03-21-2020 |
Above
I dont know how to get the filter to ignore the [FileName] column. My formula:
Last Updated =
VAR CurrentComputer = [Computer]
RETURN
MAXX(
Filter (
All (MyCsvCollection),
MyCsvCollection[Computer] = CurrentComputer
),
[Updated]
)
I have also:
But I'm missing something. I feel I'm close. Any tips??
Please try this column expression
Last Update = CALCULATE(MAX(MyCSVCollection[Updated]), ALLEXCEPT(MyCSVCollection, MyCSVCollection[Computer]))
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |