The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
I am having 3 region sheets like Region1, Region2 and Region3. Those files get updated on a daily basis 4-5 times per day including with the timestamp, where the data is stored in the "DateTime Column" in that table. As of now i am displaying the data with the latest date time field.
Below is the example how the data gets updated.
Region 1 : 14-09-2022 02:05:00 PM
Region 2: 14-09-2022 02:08:00 PM
Region 3: 14-09-2022 02:14:00 PM
Below is the Calculated Column using DAX that we are using for each region seperately
Solved! Go to Solution.
Something like this should work as a calculated column
Latest date =
VAR CurrentDate = 'Table'[Date time]
VAR MaxDate =
CALCULATE ( MAX ( 'Table'[Date time] ), ALLEXCEPT ( 'Table', 'Table'[Region] ) )
RETURN
IF ( CurrentDate = MaxDate, "Yes" )
Something like this should work as a calculated column
Latest date =
VAR CurrentDate = 'Table'[Date time]
VAR MaxDate =
CALCULATE ( MAX ( 'Table'[Date time] ), ALLEXCEPT ( 'Table', 'Table'[Region] ) )
RETURN
IF ( CurrentDate = MaxDate, "Yes" )
User | Count |
---|---|
20 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
28 | |
12 | |
11 | |
9 | |
8 |