Applies to: Kyvos Enterprise Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace
Kyvos Azure Marketplace Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)
Measure values can be calculated using expressions in MDX Linear syntax.
For example:
([Measures].[Field1] + [Measures].[Field2])
As you type, the auto-complete feature shows semantic models names, available dimensions, measures, and MDX functions.
From Kyvos 2023.5 onwards, you no longer need to refer to the MDX documentation to get help with writing MDX expressions. Kyvos supports 'Ask for Kyvos Genie', which uses Large Language Model (LLM) to create MDX queries from natural language. All you need to do is provide natural language input about the MDX query, and an MDX query will be generated. This integration saves time and effort when creating MDX queries. For more details, see the Creating automated MDX expressions using Kyvos Genie section.
To use the MDX editor when creating calculated measures in cubes, perform the following steps:
Create or edit an existing semantic model.
Choose to create a new measure.
In Measure Properties, select Expression.
On the Expression dialog box, specify the solve order if needed, and select a behavior for non-empty cells. Click the i icons to learn more.
Start typing an expression in the editor section of the dialog box.
As you enter text, suggested functions, semantic models, dimensions, members, and so on, are displayed.
or-
You can also use the 'Ask Kyvos Genie' link to use automated expressions.As you enter text, suggested functions, semantic models, dimensions, members, and so on, are displayed. Click a name, then press Enter to use that item.
Click the Ask Kyvos Ginie link. The Calculations using Kyvos Ginie dialog is displayed.
Tip
You can access and read important information using the Help icon before using Ask Kyvos Genie.
You can also see a description of the selected function.
To view a list of functions along with the detailed description, navigate to the Functions tab and select a function from the list.
Tips
Double-click on the dialog header to access the full-screen mode.
Use the Undo and Redo icons as needed as you create your calculated expression.
To find or replace content, click the Find/Replace icon, and enter what to find.
Select Match Case icon (Aa) if needed.
If you want to replace the found value, click the arrow to the left of Find, enter the text to replace, and specify whether to replace all.
To delete the entry for that item, click the X at the end of the line.
Click Validate to validate your criteria.
If you have made changes and don’t want to keep them, click Cancel.Click Save.
To learn more about MDX query fundamentals, see Microsoft Documentation.
To learn about the syntax elements and language references, see Microsoft Documentation.
Related topics