Forum Discussion
Struggling with grouping
- 6 years ago
hi, Anonymous
You could try this way that create a new manually entered table and keep the cross filter direction is "Both"
And the total for it will give only first Sent.
For example:
so you need to use the measure as below:
Measure = var _table=ADDCOLUMNS('group',"_value",CALCULATE(SUM(Basic[Value]))) return SUMX(_table,[_value])here is sample pbix file, please try it.
Best Regards,
Lin
hi, Anonymous
You could try this way that create a new manually entered table and keep the cross filter direction is "Both"
And the total for it will give only first Sent.
For example:
so you need to use the measure as below:
Measure = var _table=ADDCOLUMNS('group',"_value",CALCULATE(SUM(Basic[Value]))) return
SUMX(_table,[_value])
here is sample pbix file, please try it.
Best Regards,
Lin
- Anonymous6 years agoNot applicableThanks. It looks like that will work, but could you explain what the measure is doing?
Thanks!- v-lili6-msft6 years ago
Community Support
hi, Anonymous
It likes a measure totals problem. See this post about it
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376Also, this Quick Measure, Measure Totals, The Final Word should help you:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907Best Regards,
Lin