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.
Hello, i have this file where i have this info:
I need calculate different, for each orderid, from start time (have number 0 on colum number) and end (have mx number for this orderid on column number) in minutes.
I try to create two colum:
1) Start Date
Hi @lifesafari ,
Can you share sample data and the results you are hoping for? Show it as a screenshot or excel. Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Best Regards,
Yulia Yan
Hello @lifesafari,
Can you please try this approach:
DateDiffMinutes =
VAR MaxNumberPerOrder = SUMMARIZE(YourTable, YourTable[orderid], "MaxNum", MAX(YourTable[number]))
VAR StartDate = MINX(FILTER(YourTable, YourTable[Numero] = 0), YourTable[Data e ora creazione])
VAR EndDate = MAXX(FILTER(YourTable, YourTable[orderid] IN SELECTCOLUMNS(MaxNumberPerOrder, "OrderID", YourTable[orderid]) && YourTable[Numero] = [MaxNum]), YourTable[Data e ora creazione])
RETURN
DATEDIFF(StartDate, EndDate, MINUTE)
Hello this not working.
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 |
---|---|
127 | |
35 | |
28 | |
24 | |
24 |