Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Question:
The TableMain at the bottom returns a table with data correctly.
VAR TableMain =
FILTER (
SUMMARIZE (
Table1,
Table1[Field1],
Table2[Field1],
Table1[Field2],
"Count", DISTINCTCOUNT ( Table3[Field2] ),
"Total Sales", [MyMeasure]
),
[Total Sales] > 10
)
Question:
How do I do a sum (In a separate measure) for the column "Count" in table TableMain ?
The following count dax does not work:
CALCULATE(SUM(Mandates[Count]))
Thank you
Solved! Go to Solution.
Thank you
@Zubair_Muhammad wrote:@Anonymous
You will have to use an iterator like SUMX to aggregate
Something like this
SUMX(TableMain,[Count])
@Zubair_Muhammad wrote:@Anonymous
You will have to use an iterator like SUMX to aggregate
Something like this
SUMX(TableMain,[Count])
@Anonymous
You will have to use an iterator like SUMX to aggregate
Something like this
SUMX(TableMain,[Count])
Thank you
@Zubair_Muhammad wrote:@Anonymous
You will have to use an iterator like SUMX to aggregate
Something like this
SUMX(TableMain,[Count])
@Zubair_Muhammad wrote:@Anonymous
You will have to use an iterator like SUMX to aggregate
Something like this
SUMX(TableMain,[Count])
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 12 | |
| 10 | |
| 10 | |
| 9 | |
| 8 |