Exemple #1
0
        public void GetMeasure_SSAS2014()
        {
            var tabular = new DaxDrill.Tabular.TabularHelper_2014("FINSERV01", "CashFlow");

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

            Console.WriteLine(measure.Name);
        }
Exemple #2
0
        public void GetColumnDataType_SSAS2014()
        {
            var tabular = new DaxDrill.Tabular.TabularHelper_2014(serverName, "ApPayments");

            tabular.Connect();


            var table = tabular.GetTable("Account");

            foreach (SSAS12.CubeAttribute attr in table.BaseTable12.Attributes)
            {
                //if (attr.Attribute.Name == "Is Cash")
                Console.WriteLine("{0} | {1}", attr.Attribute.Name, attr.Attribute.KeyColumns[0].DataType.ToString());
            }
        }