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
Would it be possible to do this by creating a new manually entered table as follows:
Category Status Awarded Awarded Sent Awarded Sent Pending Sent Not Awarded Abandoned Abandoned
And then using the Category column as a column on the matrix visual and filtering for just Awarded and Sent? That way for the Awarded category it would just pull in the Awarded status, but for the Sent category it would pull in everything except for the Abandoned status?
Anonymous ,
No it will try to filter and give only first Sent.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
- Nathaniel_C6 years ago
Community Champion
https://community.powerbi.com/t5/DAX-Commands-and-Tips/DATATABLE-code-help/m-p/801126#M4849
You might look at this link to a question on datatable.