Forum Discussion
Alessandra
8 years agoHelper I
Calculate numeric distribution
Hi, In tableau, I've calculate the numeric distribution like this: max({ FIXED [Date],[Brand] : sum({ FIXED [BusinessID],[Date],[Brand]: max([Value])})}). And I want to calculate the same formula...
- 8 years ago
Hi Alessandra,
The formula of DN could be the one like below according to your data.
DN Measure = SUMX ( SUMMARIZE ( 'Table2', 'Table2'[Channel], "MaxSubtotal", MAX ( 'Table2'[Subtotal] ) ), [MaxSubtotal] )Best Regards,
Dale
Alessandra
8 years agoHelper I
Sorry for my **bleep**ty bad explanation, DN is the number of points of sale in which the products are distributed. For example, in the file, I have the column City and Channel (of distribution) , and first, I want to calculate the Max per Channel so I can have the sum of it. That column would be in Power BI the Numeric Distribution (DN).
https://drive.google.com/open?id=1FsqD5RnYq573kpeBwD6HzgYxPIJ9DDir
v-jiascu-msft
8 years agoMicrosoft Employee
Hi Alessandra,
The formula of DN could be the one like below according to your data.
DN Measure =
SUMX (
SUMMARIZE (
'Table2',
'Table2'[Channel],
"MaxSubtotal", MAX ( 'Table2'[Subtotal] )
),
[MaxSubtotal]
)Best Regards,
Dale
- Alessandra8 years agoHelper I
Thank you SO MUCH v-jiascu-msft