Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello community, I have a senario like this
and i am trying to consolidate the date in the following format
Thanks.
Solved! Go to Solution.
Hi @jaipal ,
Change the time format.
Create three measures.
Max_date = CALCULATE(MAX('Table'[End time]),FILTER(ALL('Table'),'Table'[Employee name]=SELECTEDVALUE('Table'[Employee name])&&'Table'[Date]=SELECTEDVALUE('Table'[Date])))Min_date = CALCULATE(MIN('Table'[Start time]),FILTER(ALL('Table'),'Table'[Date]=SELECTEDVALUE('Table'[Date])&&'Table'[Employee name]=SELECTEDVALUE('Table'[Employee name])))Duration_time = CALCULATE(SUM('Table'[Duration]),FILTER(ALL('Table'),'Table'[Employee name]=SELECTEDVALUE('Table'[Employee name])&&'Table'[Date]=SELECTEDVALUE('Table'[Date])))
Best Regards
Community Support Team _ polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jaipal ,
Change the time format.
Create three measures.
Max_date = CALCULATE(MAX('Table'[End time]),FILTER(ALL('Table'),'Table'[Employee name]=SELECTEDVALUE('Table'[Employee name])&&'Table'[Date]=SELECTEDVALUE('Table'[Date])))Min_date = CALCULATE(MIN('Table'[Start time]),FILTER(ALL('Table'),'Table'[Date]=SELECTEDVALUE('Table'[Date])&&'Table'[Employee name]=SELECTEDVALUE('Table'[Employee name])))Duration_time = CALCULATE(SUM('Table'[Duration]),FILTER(ALL('Table'),'Table'[Employee name]=SELECTEDVALUE('Table'[Employee name])&&'Table'[Date]=SELECTEDVALUE('Table'[Date])))
Best Regards
Community Support Team _ polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 14 | |
| 13 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 41 | |
| 40 | |
| 34 | |
| 28 | |
| 24 |