Forum Discussion
DAX formula not recognizing period (.)
- 3 years ago
Hi all
thanks for your help
The issue now is fixed, after i applied my Windows settings to match the ones of Power BI.
For Windows i had comma (,) as decimal seperator and this seems to have been overruling the settings of Power BI
Christina
Hi Christina;
I've tried to create a measure the exact same way you did with your [Target Area] and it worked fine on my laptop.
So I would need to see how you created the measue [Previous Month Profit] in order to better understand what may not going well with measure [Profit Target].
Hi
thanks!
that's the previous month profit measure
- flath3 years agoHelper II
Hi,
Insteade of using "DATEADD", have you tried using PREVIOUSMONTH?
It would be like this:CALCULATE([Total Profit],
PREVIOUSMONTH('Calendar Lookup'[Date]))- Christina_R3 years agoRegular Visitor
Hi
same issue... 😞
- flath3 years agoHelper II
Maybe, using VARs...
*Copy and Paste the following DAX on your [Target Area] measure*Profit Target =VAR PreviousProfit = [Previous Month Profit]
VAR increase = 1.1
RETURN PreviousProfit * increase