Forum Discussion
gatesmetbus
3 years agoFrequent Visitor
Powerbi Subtotal Showing wrong amount!! HELP
For some reason, 2 separate rows aren't included in the calculation of POWERBI emplores subtotals. Please note the amount shows up for the 2 rows but isn't included in the calculation.
Actuals Sum = SUM(_Transactions2[Net Amount]) here is my dax to obtain those values.
sample of transactions table
| tax fund | account | date | NEt amount | EB |
| 854 | 211100 | 2/20/22 | 50 | 50 |
| 855 | 211550 | 2/5/22 | 60 | 60 |
sample of layout
| Level 1 | levl 2 | lev3 | PK | L1Order | L2order | l3order | Calculation |
| operating income | rental income | rental income | 101 | 101 | 101 | 101 | SUM |
| operating expense | Operating & Maintenance | Small Tools Expense | 149 | 110 | 133 | 149 | Sum |
| operating expense | Taxes and Insurance | Property & Liability Ins | 156 | 110 | 155 | 156 | sum |
sample visual data straight from powerbi table export so you can see also.
should be calculation
| powerbi calculation
| ||
| Rubbish Removal | 116,960 | TRUE | 116,960 |
| Security Contract | 103,975 | TRUE | 103,975 |
| Small Tools Expense | 3,865 | TRUE | 3,865 |
| Snow Removal Contract | 6,184 | TRUE | 6,184 |
| Window Expense | 2,494 | TRUE | 2,494 |
| 233478 | FALSE | 229613 |
2 Replies
- ryan_mayu
Super User
could you pls provide the sample data and the expected output?
now i can't figure out the relationship between the tables you provided.
- gatesmetbusFrequent Visitor
attached to post.