Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Weight of values by two subset level

Hi All,

 

I am having some issues when calculation the total aggregate value by two subsets:

SalesSubset1Subset 2Total Partial aggregationExpected
4324Location1Brand 1718916,01%
67567Location1Brand 17189193,99%
9899Location1Brand 21668859,32%
6789Location1Brand 21668840,68%
5423Location2Brand 21044215,19%
98998Location2Brand 210442194,81%
8987Location2Brand 18574310,48%
76756Location2Brand 18574389,52%
4545Location3Brand 2455499,80%
9Location3Brand 245540,20%
8796Location3Brand 11723151,05%
8435Location3Brand 11723148,95%
67567Location4Brand 115755642,88%
89989Location4Brand 115755657,12%
659678Location4Brand 269421295,03%
34534Location4Brand 26942124,97%

 

By using calculate(sum[sales]; ...) I don't find a way to aggregate patialy (Col:Total Partial aggregation)

 

Has anyone a way to calculate those partial aggregations, that later on meke possible to make aggregation  at two levels.

 

Thanks in advance!

JC

1 REPLY 1
BIAB
Resolver I
Resolver I

Can you provide a sample PBIX file.  I would say that if you create a measure to divide your Total Partical Agregation from your Sales you should get the Expected result.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.