Esempio n. 1
0
        public void GetMeasureDMV()
        {
            var tabular = new DaxDrill.Tabular.TabularHelper_2016(serverName, "CashFlow");

            tabular.Connect();
            var measure = tabular.GetMeasureFromDMV("Func Amt Sum");

            Console.WriteLine(measure.TableName);
            Assert.AreEqual("CashFlow", measure.TableName);
        }
Esempio n. 2
0
 public TabularItems.Measure GetMeasure(string measureName)
 {
     if (tabular16.IsDatabaseCompatible)
     {
         return(tabular16.GetMeasure(measureName));
     }
     else
     {
         return(tabular16.GetMeasureFromDMV(measureName));
     }
 }