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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.