Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Thanks for any help you all can gather!
Solved! Go to Solution.
Hi, @Anonymous
Calculated Spread =[Filter First Security])-[Filter Second Security])
If the above measure doesn't work, you can try formula as below:
Calculated Spread =
VAR tab =
SUMMARIZE (
'First Data',
'First Data'[Date],
//'First Data'[Security],
"measure1", [Filter First Security],
"measure2", [Filter Second Security]
)
RETURN
SUMX ( tab, [measure1] - [measure2] )
If it doesn't work, please share a sample file for further research.
Best Regards,
Community Support Team _ Eason
Hi, @Anonymous
Can you tell me if your problem is solved?
If it doesn't work, please a sample file for further research.
Best Regards,
Community Support Team _ Eason
Hi,
Typically difference measures should work simpy by subtracting the first measue from the second one. So a simple Calculate spread = [Filter First Security]-[Filter Second Security]. Is there a reason this doesn't work in your example?
Proud to be a Super User!
Thats what i thought as well, so you see my confusion. The measures are just filtering for the selected values, so i wouldnt think that would cause an issue, but it seems to want to register them seperately as opposed to combining them. I could try removing the calculate function and see if thats the issue, but otherwise, im lost as to why it doesnt want to simply subtract the values
Hi, @Anonymous
Calculated Spread =[Filter First Security])-[Filter Second Security])
If the above measure doesn't work, you can try formula as below:
Calculated Spread =
VAR tab =
SUMMARIZE (
'First Data',
'First Data'[Date],
//'First Data'[Security],
"measure1", [Filter First Security],
"measure2", [Filter Second Security]
)
RETURN
SUMX ( tab, [measure1] - [measure2] )
If it doesn't work, please share a sample file for further research.
Best Regards,
Community Support Team _ Eason
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
33 | |
18 | |
18 |