Forum Discussion
Creating Calculated Table with hierarchies
Hi
I have a table of invoices containing 18M records, and about 10K of products and 30 different Sales Branch. when I create measures like MTD and Previous MTD and use them in visuals it is very slow.
I plan to create a calculated table and calculate all needed measures there. so in visualization it will be very fast.
My Question is how can I generate a calculated table which contain all the dimension I need. like "Branch", "Product Group", "Product". and I will add calculated culumns instead of measures later. when I use CROSSJOIN it puts all the products for every product group, but there is hierarchies.
It is very easy in table visual! just drag & drop and because of relationships it automatically detect hierarchies. but I can not do the same in calculated tables.
Thaks
SamSP , You need to use aggregations
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-aggregations
If needed join it back with branch and product.
1 Reply
- amitchandakSuper User
SamSP , You need to use aggregations
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-aggregations
If needed join it back with branch and product.