The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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?
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |