Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I have an OrderLines tables with a Revenue column. I also have a Calendar table with FinancialYear, and a Route table with RouteNo (certain orders are delivered by certain routes). What I'm wanting to do is sum the Revenue for a specific Financial Year and also specific Route Nos. Here is what I've tried:
Solved! Go to Solution.
Hi @hcr4
It depends on your data model but in general it can and it should. Not sure if the formula that you shared is exactly as what you've been trying or is just a short syntax but the syntax this way is wrong. Please try
RevenueSum =
CALCULATE (
SUM ( OrderLines[Revenue] ),
'Calendar'[FinancialYear] = 2021,
'Route'['RouteNo] IN { 160, 161, 162 }
)
Hi @hcr4
It depends on your data model but in general it can and it should. Not sure if the formula that you shared is exactly as what you've been trying or is just a short syntax but the syntax this way is wrong. Please try
RevenueSum =
CALCULATE (
SUM ( OrderLines[Revenue] ),
'Calendar'[FinancialYear] = 2021,
'Route'['RouteNo] IN { 160, 161, 162 }
)
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |