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.
Hi,
How do i write this excel formula to power bi:
sumproduct(r4:r36;x4:x36)/sum(x4:x36)
@pro_x - The DAX equivalent for SUMPRODUCT is found here:
https://community.powerbi.com/t5/Community-Blog/S-Excel-to-DAX-Translation/ba-p/1061121
SUMPRODUCT =
VAR __Table =
ADDCOLUMNS(
'Table1',
"Value",[Value1] * RELATED(Table2[Value2])
)
RETURN
SUMX(__Table,[Value])
Thanx but how would i write that formula?
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |