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 want to calculate the distinct count of column "COLL_ACTIVE" which filters out the total "COMM_TARGET%" witha a range but I am getting wrong values I have used multiple Measure to calculate this what I am using right now is
50%-69.9%(Q) = CALCULATE(DISTINCTCOUNTNOBLANK(MainList[COLL_Active]),FILTER(MainList,MainList[COMM_T%]>=50 && MainList[COMM_T%]<=69.9))+0
'Mainlist' is the table name "COMM_T" it is returning me blank but I have COLL_ACTIVE that has total of more than 50, how should I do it please help
Solved! Go to Solution.
Hi @MahaAli_00 ,
What's the difference between [COMM_T%] and [COMM_TARGET%]? Based on my understanding, [COMM_TARGET%] is a column.
To find out a possible solution, I created sample data and a measure. Please refer to
Measure = CALCULATE(DISTINCTCOUNT('MainList'[COLL_Active]),FILTER('MainList',[COMM_TARGET%]>=50&&[COMM_TARGET%]<=69.9))
The measure in the card visual:
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MahaAli_00 ,
What's the difference between [COMM_T%] and [COMM_TARGET%]? Based on my understanding, [COMM_TARGET%] is a column.
To find out a possible solution, I created sample data and a measure. Please refer to
Measure = CALCULATE(DISTINCTCOUNT('MainList'[COLL_Active]),FILTER('MainList',[COMM_TARGET%]>=50&&[COMM_TARGET%]<=69.9))
The measure in the card visual:
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@MahaAli_00 try this dax function
DebugTable =
SUMMARIZECOLUMNS (MainList[COMM_T%],
"Distinct Count", DISTINCTCOUNTNOBLANK(MainList[COLL_Active])
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 47 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 196 | |
| 127 | |
| 102 | |
| 67 | |
| 49 |