A line-level table is normally the most granular data in a data model. For example, consider an Order Line table. The orders for each customer are stored one row per product line, and we have corresponding costs for each product on each line. When we generate a table report for such data, we will have a separate line for each product, which, in itself, is not wrong. Recently, however, a customer asked me to initiate an export for the Table report in such a way that all the products for a particular order are contained in a single cell, and the sales column should show the aggregated figure for all the products under OrderID. To tackle this requirement, I created a calculated dimension using the Concat function. The process is explained in the following recipe.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia