| Formula column Name |
Formula |
| Upload Date |
=DateFormat(TableInfo("Last Updated",{Dataset Name}), "yyyy-MM-dd") |
| File Name |
=TableInfo("Source",{Dataset Name}) |
| Month Current |
=Months(CurrentDate()) |
| Month Upload |
=Split(Months(Upload Date),1,".") |
| Month Mininum for Green for Upload Date |
=If({Upload Date Criteria}="Upload Date after this month",Month Current+1,If({Upload Date Criteria}="Upload Date during this month",Month Current,If({Upload Date Criteria}="Upload Date during this year",Month Current-CurrentDate("M")+1,0))) |
| Uses Data from This Period |
=TableInfo("Updated This Period",Dataset Name) |
| Traffic Light Color |
=If({Upload Date Criteria}="No Check" OR {Upload Date Criteria}="","No Check",If((Upload Date Criteria="Upload into this month" AND Uses Data from This Period="true") OR (Upload Date Criteria!="Upload into this month" AND Month Upload>=Month Mininum for Green for Upload Date),"green","red")) |
| Upload Status |
="<div align='center'>"&Icon("3colorcircles",Traffic Light Color="green",Traffic Light Color="yellow",Traffic Light Color="red") |