Quantcast
Channel: SQLBI
Viewing all articles
Browse latest Browse all 434

How to implement classification in #DAX #powerpivot #ssas #tabular

$
0
0

In the last two weeks we published two new patterns of www.daxpatterns.com:

These two patterns offers solutions to the general problem of classifying an item by the value of a measure or of a column in your Power Pivot or Tabular data model. For example, you might create groups of products based on the price or on the volume of sales. The difference between the two techniques is that the static segmentation applies the classification using calculated columns (so it is calculated in advance - at refresh time - and is not subject to changes made to filter selection in queries), whereas the dynamic segmentation perform the classification at query time (so it is slower but it considers filters applied to queries).

In my experience, many people want to use the dynamic approach, but in reality they often realize later that the static segmentation was the right choice, not just for performance but mainly for easiness of use.


Viewing all articles
Browse latest Browse all 434

Trending Articles