The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |