The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello!
I am trying to SUM Values [Amount] if a Column [FS Item (Account)] is Equal to a Specific Value [173] and the [Amount] is Positive / Greater than Zero.
The formula I have to SUM the values is
Solved! Go to Solution.
Hi @MS3 ,
Try the following DAX:
Hi @MS3 ,
Try the following DAX:
Thank you very much!!!
It worked wonderfully!
Needed to add the table for Amount as per below:
CALCULATE ( SUM ( Masterdata[Amount] ),
Masterdata[FS Item (Account)]="173"
&& Masterdata [Amount] >0
)
When I use the expression it tells me
"The expression contains multiple columns, but only a single column can be used in a True / False expression that is used as a Table Filter Expression"
Indeed [Amount] and [FS Item (Account)]] are columns in my Masterdata table.
sry, my bad
do like this with a filter function :
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
11 | |
7 |