Forum Discussion
Avoid Summing Values with Duplicate Fields
- 6 years ago
Hi BHigh37 ,
You could use ISINSCOPE() function to set total values.
Here is my test file for your reference.
If you want to show data check level or above
one of the following should work
Sales1 = Max(sales)
New Sales = sumx(values[sales[checks]),Sales1 )
Or
CALCULATE(sumx((SUMMARIZE(Sales,sales[checks],"s1",SUM(Sales[Sales]))),[s1])
Another option is using all except create count rows at check level and divide it
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners/ba-p/890814
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p/881739
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601