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.
I am trying to count the number of hotels in "Hotel Names" that have blank "Descriptions" in the table below. My current measures keep on counting repeated names as additional hotels. Please help.
Solved! Go to Solution.
Hi acohen-ih-corp,
Did you want to get below result?
You could try below measures
Measure = CALCULATE ( COUNT ( 'count'[hotel] ), FILTER ( ALLEXCEPT ( 'count', 'count'[hotel] ), 'count'[description] = BLANK() ) ) + 0 Measure 2 = CALCULATE ( DISTINCTCOUNT ( 'count'[hotel] ), FILTER ( 'count', 'count'[description] = BLANK() ) )
If this not waht you want, please correct me and inform me your expected output.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi acohen-ih-corp,
Did you want to get below result?
You could try below measures
Measure = CALCULATE ( COUNT ( 'count'[hotel] ), FILTER ( ALLEXCEPT ( 'count', 'count'[hotel] ), 'count'[description] = BLANK() ) ) + 0 Measure 2 = CALCULATE ( DISTINCTCOUNT ( 'count'[hotel] ), FILTER ( 'count', 'count'[description] = BLANK() ) )
If this not waht you want, please correct me and inform me your expected output.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |