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
my table is below
Column1 Coulmn2
A 1
A 1
A 2
A 2
A 2
A 3
output will be 3 as there are 3 unique rows.
Note: My source is tabular model so i can create only measures in power BI
Solved! Go to Solution.
Hi @Anonymous
Create a calculated column that concatenates Column1 and 2 then distinct count that.
Count = Table1[Column1 ] & Table1[Coulmn2]
DistinctRows = CALCULATE(DISTINCTCOUNT(Table1[Count]))
Hi @Anonymous ,
One sample for your reference. Here we can create a measure as below.
Measure = SUMX(VALUES(Table1[Column1]),CALCULATE(DISTINCTCOUNT(Table1[Column2])))
Hi @Anonymous ,
One sample for your reference. Here we can create a measure as below.
Measure = SUMX(VALUES(Table1[Column1]),CALCULATE(DISTINCTCOUNT(Table1[Column2])))
@Anonymous
May be a MEASURE like
Measure = Countrows(DISTINCT(TableName))
Hi @Anonymous
Create a calculated column that concatenates Column1 and 2 then distinct count that.
Count = Table1[Column1 ] & Table1[Coulmn2]
DistinctRows = CALCULATE(DISTINCTCOUNT(Table1[Count]))
Request is a little bit vague but a DISTINCTCOUNT([Column2]) should work i believe?
Br,
Johannes
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 |
|---|---|
| 84 | |
| 49 | |
| 37 | |
| 31 | |
| 30 |