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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.