Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Hi,
Have you tried the below?
Revenue = CALCULATE(
Sum( Transactions[Amount]),
FILTER( Transactions,
Transactions[Account Type] IN {"Income", "Other Income"}
&& Transactions[Activity]="Dairy"
)
)
Hi,
Have you tried the below?
Revenue = CALCULATE(
Sum( Transactions[Amount]),
FILTER( Transactions,
Transactions[Account Type] IN {"Income", "Other Income"}
&& Transactions[Activity]="Dairy"
)
)
Hi @Ada_nnaya ,
Thanks for this. The card no longer shows (Blank).
However, for example, in 2020, the card shows 306,772,172/= as the result. When I check my table, that sum is from [Account Type]"Income" only.
Here is a snapshot of my data.
Sure @ghoshabhijeet .
See photo.
When I use the DAX @Ada_nnaya suggested though, I'm only getting sum for [Account Type]"Income"
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
97 | |
75 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |