Forum Discussion
Victorsam
3 years agoFrequent Visitor
(Blank) on Card
My 'Transactions' table has the following columns; [Account Type], [Account Group], [Account Name], [Year], [Amount], and [Activity]. I have created a measure to get the revenue of an activity. i.e...
- Anonymous3 years ago
Hi,
Have you tried the below?
Revenue = CALCULATE(
Sum( Transactions[Amount]),
FILTER( Transactions,
Transactions[Account Type] IN {"Income", "Other Income"}
&& Transactions[Activity]="Dairy"
)
)
Victorsam
3 years agoFrequent Visitor
Sure ghoshabhijeet .
See photo.
When I use the DAX Anonymous suggested though, I'm only getting sum for [Account Type]"Income"
Anonymous
3 years agoNot applicable
Hi,
I would then check if there are trailing spaces in the Activity and Account Type columns. Any spaces or typos would prevent effective filtering.
- Victorsam3 years agoFrequent Visitor
Hi Anonymous
Thank you so much. It's working now.