The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |