Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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])
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
108 | |
88 | |
75 | |
66 |
User | Count |
---|---|
125 | |
114 | |
98 | |
81 | |
73 |