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.
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 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |