Forum Discussion
total value for each category
- 4 years ago
Hi Anonymous ,
Please try the following formula:
Measure = SUMX ( SUMMARIZE ( Table1, dim1[name], dim2[name], "SubValue", [dax] ), [SubValue] )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous , seem like you need some of Avg
Sumx(summarize(Table, Table[Category], Table[Sub Category], "_1", dax =
DIVIDE(
sum(table1[Value1])
, sum(table2[Value2])
) ), [_1])
Thanks for the help !!
But your dax is not work.
- amitchandak4 years ago
Super User
Anonymous , If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.- Anonymous4 years agoNot applicable
- amitchandak4 years ago
Super User
Anonymous We can not access your app. Paste data here from excel or Power BI
or share them on onedrive or dropbox