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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello everyone,
Sorry I could not figure out the format requirement.
I have two measures, Premium and Loss. If Premium is zero, Loss should be zero, How can I use measure Premium as an argument in measure Loss?
Thank lot.
Dennis
Loss =
VAR Prem = [Premium]
RETURN
CALCULATE (
SUM ( Data[Loss] ),
Prem > 0
)
Hi,
Try this one:
Loss =
VAR Prem = [Premium]
RETURN IF(Prem =0, 0,
CALCULATE (
SUM ( Data[Loss] )
)
Try this: IF([Premium]=0, 0,SUM ( Data[Loss] ))
Proud to be a Super User!