Skip to main content
IMPLEMENTED

Calculation Groups - make it possible to add them to tabular models

Related products:TimeXtender Data Integration Portal
  • June 3, 2023
  • 2 replies
  • 69 views

anders.e.jonsson
Contributor
Forum|alt.badge.img+1

Calculation Groups in Tabular models are very versatile. They may for example be used to;
-  avoid redundancy when creating time intelligence calculation items
-  dynamic format strings
-  currency conversions
-  default values in filters based on UPN et cetera.

Calculation Group can be added to a deployed Tabular model (Endpoint) by executing xmla code, and run a Process Recalc command, from a PowerShell script. This can be done in TimeXtender with an External Executable that are run after processing the SSL in a Job.
This means that the calculation groups will be reapplied each time a tabular model is processed, it takes no time at all, so the impact on performance is negligible.

But there is a catch. A property in the tabular model - discourageImplicitMeasures - has to be set to true. Otherwise the calculation group can’t be created. We found now way to apply this in a script unless the entire model is replaced.

The elegant way to solve this would be a new property in the TimeXtender portal where the Tabular endpoint is created. A new check box:
Set Discourage Implicit Measures to True ⛝.
When checked the property should be applied when the tabular model is deployed.

I will not go into how to create calculation groups. There is already a lot published about it. For example, by Frank Wagner in TimeXtender Tuesday's episode 26.
But I promise to write a small article on how to create the necessary XMLA and PowerShell scripts, once the checkbox is in place in the portal 😉.

 (This topic has been rewritten and moved from the Product Focus Group)

BR
Anders

2 replies

JTreadwell
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • January 9, 2024

Thanks for the suggestion @anders.e.jonsson, and all you voters! they continue to shape our product.

As of today, you can now add calculation groups to semantic models and deploy them to Tabular and PowerBI semantic endpoints!

This and more were release today in v6505.1. Read more about it here.

We will continue to review top voted ideas to drive the future of the product, so keep voting! Thank you.


JTreadwell
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • January 9, 2024
SUBMITTEDIMPLEMENTED