Forum Discussion
Row subtotal is incorrect
- Anonymous4 years ago
Hi Gyuzal0997 ,
Please have a try.
Select the only column in the table that has no duplicate values, such as a date column, or create an index column.
Then create a measure based on [sales fact].
var _b = SUMMARIZE('sales','sales'[date] or index column,"aaa",'sales'[sales fact]) return IF(HASONEVALUE('sales'[date] or index column),'sales'[sales fact],SUMX(_b,[aaa]))If I have misunderstood your meaning, please provide more details with screenshots.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Gyuzal0997 ,
Please have a try.
Select the only column in the table that has no duplicate values, such as a date column, or create an index column.
Then create a measure based on [sales fact].
var _b = SUMMARIZE('sales','sales'[date] or index column,"aaa",'sales'[sales fact])
return
IF(HASONEVALUE('sales'[date] or index column),'sales'[sales fact],SUMX(_b,[aaa]))
If I have misunderstood your meaning, please provide more details with screenshots.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.