March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I have the below table :
I need to sum the value column with respect to TargetType =0 and their corresponding Value Type.
My dax takes is as below:
Target Unit =
CALCULATE (
SUMX ( Target, Target[Value] ),
FILTER ( Target, Target[TargetType] = 0 )
)
This dax takes into consideration TargetType =0 but not Value Type. I have multiple Value Type such as Value_03,Value_02,Value_01 upto Value_12.
Could you please help me?
PFA raw excel file test.xlsx
Please let me know if you need further info!
Thanks in advance!
@Ahmedx @Greg_Deckler @grantsamborn @amitchandak @Sergii24
Solved! Go to Solution.
plse thr this
CALCULATE (
SUMX ( Target, Target[Value] ),
Target, Target[TargetType] = 0 && Target[Value Type] in {"Value_01","Value_02","Value_3","Value_12" } )
Hi Sir,
I have accepted it as a solution!
Thank you!
plse thr this
CALCULATE (
SUMX ( Target, Target[Value] ),
Target, Target[TargetType] = 0 && Target[Value Type] in {"Value_01","Value_02","Value_3","Value_12" } )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |