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! Request now
I have matrix visual where I am trying to count rows of multiple columns for exammple Column A is " Assign to" Column B "Created By" , Added Assign To Coulmn in Rows of Matrix visual when I am adding "created By" in Vaules (count) its not shwoing correct count its showing same as Assigned To ,
I tried by created a caluculated column "ColmCreatedBy = if(CONTAINS(Tabel1, Tabel1 [ASSIGN TO NAME], Tabel1[CREATED BY NAME]),1,0)"
and then count the 1 vaule its aslo not shwoing acurate vaules I think am miisng some thing.
Solved! Go to Solution.
Hello @izzu,
You can use DISTINCTCOUNT to count the unique occurrences in the "Created By" column:
CountCreatedBy = DISTINCTCOUNT(Table1[CREATED BY NAME])
If you want to count the rows where "Assign To" and "Created By" are different, you can create a calculated measure instead:
CountDifferentAssignToCreatedBy =
CALCULATE(
COUNTROWS(Table1),
Table1[ASSIGN TO NAME] <> Table1[CREATED BY NAME]
)
Hope this helps!
Hello @izzu,
You can use DISTINCTCOUNT to count the unique occurrences in the "Created By" column:
CountCreatedBy = DISTINCTCOUNT(Table1[CREATED BY NAME])
If you want to count the rows where "Assign To" and "Created By" are different, you can create a calculated measure instead:
CountDifferentAssignToCreatedBy =
CALCULATE(
COUNTROWS(Table1),
Table1[ASSIGN TO NAME] <> Table1[CREATED BY NAME]
)
Hope this helps!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 74 | |
| 50 | |
| 48 | |
| 46 |