Specification of database table relationships for calculation
First Claim
Patent Images
1. A computer-implemented method, comprising:
- receiving a data analysis expression comprising a calculation and a relationship to use for the calculation from multiple relationships between values of two tables of a database;
overriding a default relationship setting of the database with the relationship;
initiating execution of the calculation using the relationship; and
restoring the default relationship after execution of the calculation is complete.
2 Assignments
0 Petitions
Accused Products
Abstract
A relationship amongst multiple relationships between database tables can be specified independent of a query. More specifically, a function (USERELATIONSHIP) can be introduced to the DAX language (Data Analysis Expressions), which provides a way to author formulas that are not evaluated immediately, but that can be evaluated dynamically and concurrently in many different contexts. The function enables a single relationship to be specified in the calculation formula away from the query. This provides a mechanism within the formula that specifies specific relationship(s) that are to be followed when the dynamic expression is evaluated.
13 Citations
17 Claims
-
1. A computer-implemented method, comprising:
-
receiving a data analysis expression comprising a calculation and a relationship to use for the calculation from multiple relationships between values of two tables of a database; overriding a default relationship setting of the database with the relationship; initiating execution of the calculation using the relationship; and restoring the default relationship after execution of the calculation is complete. - View Dependent Claims (2, 3, 4, 5, 15, 16)
-
-
6. A system, comprising:
-
a processor coupled to a memory, the processor configured to execute the following computer-executable components stored in the memory; a language component configured to override a database default relationship temporarily for duration of a calculation with a relationship, from multiple relationships between values of two tables of the database, specified in conjunction with the calculation and independent of a database query. - View Dependent Claims (7, 8, 17)
-
-
9. A computer-readable storage medium having instructions stored thereon that enable at least one processor to perform a method upon execution of the instructions, the method comprising:
-
receiving a data analysis expression comprising a calculation and an explicit relationship from multiple relationships between values of two tables of a database to employ with respect to the calculation; overriding a default relationship setting of the database with the explicit relationship; initiating execution of the calculation following the explicit relationship; and restoring the default relationship after execution of the calculation is complete. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification