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 September 15. Request your voucher.
Just adding another post to clarify what I need.
Basically, I want this sql query translated into DAX:
SELECT TOP 10 To_Person,
Max(Call_Duration) as longest_call_duration
FROM [table]
where [date]= '2020-05-30'
group by
To_Person, Call_Duration
I Calculated Max Duration in Power BI like:
Hi @acg
Can you share a sample of your data here? do you want to create a table with to_Number column and just max10 duration?
You can add a RANK to your duration then filter that to 10.
Appreciate your Kudos✌️!!
User | Count |
---|---|
14 | |
12 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
13 | |
7 | |
5 |