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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
MeasureDiff = CALCULATE ( [MeasureSumSeconds] - SUM(T2[duration]))
_Measure =
VAR _Sum = SUMX(VALUE(T1[Col1]),[MeasureDiff])
RETURN
IF(_Sum<0,NegativeSums, PositivesSums)
How to get NegativeSums and PositivesSums ?
Solved! Go to Solution.
@Digger , Try like
negative sum= SUMX(filter( VALUE(T1[Col1]),[MeasureDiff]<0), [MeasureDiff])
Positive sum= SUMX(filter( VALUE(T1[Col1]),[MeasureDiff]<0), [MeasureDiff])
@Digger , Try like
negative sum= SUMX(filter( VALUE(T1[Col1]),[MeasureDiff]<0), [MeasureDiff])
Positive sum= SUMX(filter( VALUE(T1[Col1]),[MeasureDiff]<0), [MeasureDiff])
Hi @Digger ,
Could you pls share your pbix file .Remember to remove confidential data.
Best Regards
Lucien
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!