Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |