Forum Discussion
Difference between two points
You could try something like
CALCULATE(
SUM(
Sales[Monthly Sales]
)
)
-
CALCULATE(
SUM(
Sales[Monthly Sales]),
FILTER(
ALL('Calendar'),
'Calendar'[Date]=Max('Calendar'[Date]) - 180
)
)
BR
It's still returning the whole table. I want a scalar value returned. Surely there should be a simple way to do calculations like this in PowerBI
- v-piga-msft7 years agoResident Rockstar
Hi JBI ,
Have you solved your problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry
- JBI7 years agoFrequent Visitor
Hi,
Did not get solution no. I got a solution on a different feed.Thanks
- v-piga-msft7 years agoResident Rockstar
Hi JBI ,
If you get a solution, could you share and accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
Best Regards,
Cherry