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.
Hello Community -
I am having an issue creating a Calculation Item in the Tabular Editor for a Rolling 7 Day Total. When I put my DAX measure below in tabular editor I get an error: "Expression - The end of the input was reached"
Below is my measure (very simple) that I am using, and I am not sure where this is going wrong? Any insight to this would be GREATLY appreciated.
CALCULATE(
SELECTEDMEASURE(),
DATESINPERIOD(Date_Table[Date],
LASTDATE(Date_Table[Date]),-7,DAY )
Thank you!
Ryan F
Solved! Go to Solution.
Hi @ryan_b_fiting ,
You're missing a parenthesis in the end?
CALCULATE(
SELECTEDMEASURE(),
DATESINPERIOD(Date_Table[Date],
LASTDATE(Date_Table[Date],-7,DAY )
)
Regards,
Sérgio Silva
Hi @ryan_b_fiting ,
You're missing a parenthesis in the end?
CALCULATE(
SELECTEDMEASURE(),
DATESINPERIOD(Date_Table[Date],
LASTDATE(Date_Table[Date],-7,DAY )
)
Regards,
Sérgio Silva
@SergioSilvaPT wow, I guess I should have focused a little better! Thanks for the extra eyes on my measure!
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |