Forum Discussion
larbar110
Oct 13, 2021Copper Contributor
How can I exclude all negative numbers from a grand total in a pivot table?
I am trying to only include positive numbers in this calculation without deleting negative values or hardcoding.
2 Replies
Sort By
- JulianchamizoCopper ContributorPrepara tus datos por anticipado, crea un nuevo campo, que sea Nevative_Value con los valores TRUE or False. Luego en la tabla dinamica filtra en el encabezado por Negative_value=false
- Riny_van_EekelenPlatinum Contributor
larbar110 For that you need to load the data to the Data Model and use a DAX measure. Since you do not disclose the structure of your own data (table name, column names etc.), I made a small example as shown in the picture below.
All data is stored in "Table1" and the pivot table only sums positive "Values" for each "Ref".