Forum Discussion
Formula Excel to DAX
- Anonymous4 years ago
Hi mlozano ,
Please try this.
NR/hl Cat Mix1 = SUMX( SUMMARIZE( 'Worksheet', 'Worksheet'[Field 1 Name], 'Worksheet'[Field 2 Name], 'Worksheet'[Field 3 Name], 'Worksheet'[Field 4 Name], 'Worksheet'[Field 5 Name], ... 'Worksheet'[NR/Hl Cat Base], 'Worksheet'[NR/Hl Total Base], "Act",[Peso% SKU Act], "Base",[Peso% SKU Base] ), ([Act]-[Base])*('Worksheet'[NR/Hl Cat Base]-'Worksheet'[NR/Hl Total Base]) )Attached PBIX file for reference.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi mlozano ,
Please try this.
NR/hl Cat Mix1 =
SUMX(
SUMMARIZE(
'Worksheet',
'Worksheet'[Field 1 Name],
'Worksheet'[Field 2 Name],
'Worksheet'[Field 3 Name],
'Worksheet'[Field 4 Name],
'Worksheet'[Field 5 Name],
...
'Worksheet'[NR/Hl Cat Base],
'Worksheet'[NR/Hl Total Base],
"Act",[Peso% SKU Act],
"Base",[Peso% SKU Base]
),
([Act]-[Base])*('Worksheet'[NR/Hl Cat Base]-'Worksheet'[NR/Hl Total Base])
)
Attached PBIX file for reference.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
- mlozano4 years ago
Helper III
The solution is perfect, thanks!