Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tom_om
Frequent Visitor

Error after export calculated table to tabular server

1. I have deploy model with calculated table

=ADDCOLUMNS(
CALENDAR ( DATE (2021,1,1), DATE (2021,12,31) ),
"Miesiąc Rok",FORMAT ( [Date], "mmm yyyy" ),
"Rok Miesiąc", FORMAT ( [Date],"yyyy mmm" ),
"Rok Miesiąc Numer", FORMAT ( [Date], "yyyy-mm" ),
"Miesiąc Rok SORT", YEAR([Date]) * 100 + MONTH([Date]),
"Kwartał","Q" & QUARTER ( [Date] ),
"Kwartał Numer", QUARTER ( [Date] ),
"Kwartał Rok","Q" & QUARTER ( [Date] ) & FORMAT ( [Date], " yyyy" ),
"Rok Kwartał",FORMAT ( [Date], "yyyy " ) & " Q" & QUARTER([Date]),
"Kwartał Rok SORT",YEAR([Date]) * 100 + QUARTER([Date]),
"CzyAktualnyMiesiac",IF(YEAR([Date]) = YEAR(NOW()) && MONTH([Date]) = MONTH(NOW()),1,0),
"Rok",YEAR([Date]),
"Miesiąc",MONTH([Date])
)

2. Second source is db2 database

 

After deploy i have error when i add calculated table to Power BI

"DataSource.Error: AnalysisServices: The query referenced calculated table 'Data' which does not hold any data because there is an error in its expression.
Details:
DataSourceKind=AnalysisServices
DataSourcePath=w6q7-tst2;TabularProject2test"

 

Sources Db2 working ok.

Everything working OK in Excel Power Query.

1 ACCEPTED SOLUTION
tom_om
Frequent Visitor

Resolved: The QURTER function is not allowed even though it is not an error in Visual Studio.

View solution in original post

1 REPLY 1
tom_om
Frequent Visitor

Resolved: The QURTER function is not allowed even though it is not an error in Visual Studio.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.