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 there,
I have the below formula:
Hi, @LABrowne
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I am not sure how your semantic model looks like, but please try something like below whether it suits your requirement.
expected result measure: =
SUMX (
VALUES ( Ships[ShipId] ),
CALCULATE (
IF (
Ships[Shipid] = 32,
( ( [Ship Net Sales] / [Insurance Period] ) * [Days Since Sale] )
)
)
)
Hi there,
Ships[ShipsId] is not coming up as an auto fill option after CALCULATE, I'm not sure if I'm missing something?