Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I need to calculate like a Sumif but depending of a column. See example below.
Table1
How can I do this ? by measure or calculated column ?
Thanks !
Solved! Go to Solution.
Sumx(filter(allselected(Table), Table[Qtr] = max(Table[Qtr]) ) , Table[Value])
@cristianml Try the below DAX measure:
MEASURE = CALCULATE(SUM(TableName[ValueColumn]),ALLEXCEPT(TableName,TableName[QuarterColumn]))
Sumx(filter(allselected(Table), Table[Qtr] = max(Table[Qtr]) ) , Table[Value])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 33 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 126 | |
| 115 | |
| 85 | |
| 69 | |
| 69 |