Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
10 | |
6 |