Forum Discussion
Anonymous
6 years agoNot applicable
Struggling with grouping
I have a table that lists status history line items. It has columns called Status and Created On as well as a key field to relate it to another table. Status contains a unique value from the list: "P...
- 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
Anonymous
6 years agoNot applicable
Thanks. It looks like that will work, but could you explain what the measure is doing?
Thanks!
Thanks!
v-lili6-msft
6 years agoCommunity 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/63376
Also, 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/547907
Best Regards,
Lin