This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I have an issue when I try to create the same calculate table in SSAS as in PowerBI desktop
The table looks like this:
=SUMMARIZECOLUMNS(
Fact[Date],
Fact[CountryID],
Fact[ProductId],
"Tickets", SUM( Fact[Tickets] ),
"Tickets in Period",
CALCULATE(
SUM( Fact[Tickets] ),
DATESINPERIOD( Fact[Date], SELECTEDVALUE( Fact[Date] ), -71, DAY ),
Fact[Date] < SELECTEDVALUE( Fact[Date] )
)
The issue appear when I add the second filter clause, because I dont want the current day included in the calculation.
The Visual Studio where I created the Tabular model does not provide a text error, it just simply says "One or more formulas have errors."
Again, the formula in Pbi Desktop works just fine and as expected, the issue is in Visual Studio, SSAS Model.
If you guys can help me on this issue I would really appreciate it!
Thanks!
Hi,
Its giving me the same response "One or more formulas have errors", but only when I add the second filter option, even if I add the second one alone.
Initially I had one more condition, WEEKDAY( Facty[Date] )=WEEKDAY( MAX(Fact[Date]) ), but it gives me the same error.
Seems like he likes only the DATESINPERIOD formula.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 33 | |
| 23 | |
| 23 |