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.
Hello
How to write filter expression in measure column , below condition doesnt seem to work unless i use visual filter.
Solved! Go to Solution.
Hi @refint650 ,
You need to use the correct filter criteria. Reference is as follows:
M =
CALCULATE (
DISTINCTCOUNT ( 'Table'[ID] ),
FILTER ( ALL ( 'Table' ), 'Table'[ID] <> BLANK () && 'Table'[Name] = BLANK () )
)
If the problem is still not resolved, please provide detailed error information. Let me know immediately, looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @refint650 ,
You need to use the correct filter criteria. Reference is as follows:
M =
CALCULATE (
DISTINCTCOUNT ( 'Table'[ID] ),
FILTER ( ALL ( 'Table' ), 'Table'[ID] <> BLANK () && 'Table'[Name] = BLANK () )
)
If the problem is still not resolved, please provide detailed error information. Let me know immediately, looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
My suggested measure should work. Share the link from where i can download your PBI file. Show the incorrect answer and also let me know the exact result that you are expecting.
Hi,
Does this work?
=CALCULATE(DISTINCTCOUNTNONBLANK(Data[ID]),Data[Name]=BLANK())
Hope this helps.
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 |
---|---|
113 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |