Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi everyone, I have the following dataset
I am trying to get the first and last datetime stamp for each shift (there are multiple shifts A,B,C,D) per day.
I have tried this formula but it doesn't work due to duplicated rows in the trndte column.
Any ideas would be much appreciated
Thanks
Solved! Go to Solution.
Hi @georgec96
please try New Column
Last DateTime =
CALCULATE (
MAX ( 'Table'[trndte] ),
ALLEXCEPT ( 'Table', 'Table'[Shift], 'Table'[Date] )
)
Hi @georgec96
please try New Column
Last DateTime =
CALCULATE (
MAX ( 'Table'[trndte] ),
ALLEXCEPT ( 'Table', 'Table'[Shift], 'Table'[Date] )
)
Hi @georgec96,
Can you try
MinDate = CALCULATE ( MIN ( 'Table'[trndte]), ALLEXCEPT('Table'[Shift]))
MaxDate = CALCULATE ( MAX ( 'Table'[trndte]), ALLEXCEPT('Table'[Shift]))
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
69 | |
35 | |
21 | |
18 | |
15 |
User | Count |
---|---|
126 | |
32 | |
28 | |
24 | |
24 |