Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have my data like:
state hours days
NY 100 1
NY 140 2
NJ 100 1
NJ 200 2
NJ 300 3
dax: HOURS_PER_DAY= SUM(HOURS)/ MAX(DAYS)
RESULT TABLE IN POWERBI:
STATE HOURS_PER_DAY
NY 120
NJ 200
TOTAL 280
MY REQUIREMENT:
STATE HOURS_PER_DAY
NY 120
NJ 200
TOTAL 320
i WANT TO SHOW total as sum(hours_per_day) .
Thanks
Solved! Go to Solution.
Hey,
this measure
Measure =
SUMX(VALUES('Table1'[State]),
CALCULATE(SUM(Table1[Hours])
,ALLEXCEPT('Table1',Table1[State])
)
/CALCULATE(MAX(Table1[Days])
,ALLEXCEPT('Table1',Table1[State])
)
)creates what you are looking for
Hope this is what you're looking for
Regards
Hey,
this measure
Measure =
SUMX(VALUES('Table1'[State]),
CALCULATE(SUM(Table1[Hours])
,ALLEXCEPT('Table1',Table1[State])
)
/CALCULATE(MAX(Table1[Days])
,ALLEXCEPT('Table1',Table1[State])
)
)creates what you are looking for
Hope this is what you're looking for
Regards
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.