The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi team,
I have a data with time in seconds (decimal) which is converted to time format with below DAX.
Hi, @Anonymous ;
Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous ;
Please try it,
New measure =
VAR _TotalDuration =
DIVIDE (
SUM ( itops_telecom[Aux2] ) + SUM ( itops_telecom[Aux3] )
+ SUM ( itops_telecom[Aux8] ),
24 * 60 * 60
)
RETURN
COUNTX (
SUMMARIZE (
FILTER ( ITOps_Telecom, _TotalDuration > 6300 ),
ITOps_Telecom[logid],
ITOps_Telecom[row_date]
),
ITOps_Telecom[logid]
)
If not, can you share a simple example similar? It is difficult to judge the correct measure without scenarios.
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , You have to try a measure like
New measure =
var _TotalDuration = divide(SUM ( xxxxx[Aux2])+sum(xxxxx[Aux3])+sum(xxxxx[Aux8]),24*60*60)
return
countx(filter(summarize(table, table[employee], Table[Month Year], "_1", _TotalDuration),[_1]>6300), [Employee])
@amitchandak Thanks Amit for replying.
I added the below . but its giving blank results. is there something that im doing wrong?
@Anonymous , row_date will group data at the day level, not the month, if 6300 was the expected value for month
@amitchandak yes. I want to calculate how many days in a month have exceeded 6300 (per day) not 6300 per month
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 August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
81 | |
81 | |
48 | |
41 |
User | Count |
---|---|
149 | |
110 | |
66 | |
64 | |
56 |