0

I need MDX query that will return 1\0 if the cube is up to date. Something like: case when LAST_DATA_UPDATE > now() then 1 else 0 end

I have the script that returns currently the 2 arguments but I cannot put them in an IIF statement?

Any help would be highly appreciated.

SELECT
CUBE_NAME,
 LAST_DATA_UPDATE
 --,now() as now_time
 FROM
$System.MDSCHEMA_CUBES
where cube_source=1
whytheq
  • 34,466
  • 65
  • 172
  • 267
Yoni
  • 1
  • 1

0 Answers0