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.
Hey Friends,
Can you please help me to convert below sql to DAX .
SELECT COUNT(B.Parent_SID) Parent_Count, FullName FROM [BI].[Fact_OutboundCalls] A INNER JOIN [BI].[Dim_Parent] B ON A.DialedNumber = B.PHONE
INNER JOIN [BI].[Dim_Employee] C ON A.Employee_SID = C.Employee_SID
GROUP BY C.FullName
Considering you have below relationships in your Power BI data model
B[Phone] = A[DialedNumber]
C[Employee_SID] = A[EmployeeSID]
you can use below to create table using DAX
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
28 | |
17 | |
12 | |
7 | |
5 |