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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi,
I have records which have a datetime field called called app_in_datetime
I'd like to create a new field which will flag the records of the latest datetime.
Example below.
app_in_datetime. Latest_app_in
01/01/2023 12:34:45. N
01/01/2023 13:53:34. Y
Any idea how I would go about doing this please?
Hi,
Assuming you have an App ID column and you want a Y or an N against each App ID, try this calculated column formula
Result = if(Data[app_in_datetime]=calculate(max(Data[app_in_datetime]),filter(Data,Data[App ID]=earlier(Data[App ID]))),"Y","N")
Hope this helps.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 129 | |
| 104 | |
| 56 | |
| 39 | |
| 31 |