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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Experts
I am trying to count the distinct values in the following two column crm_call_name and crmf_hcp_id and then where crmf_clm_presentation_slide_id is not blank... cannot see my error
Measure
Solved! Go to Solution.
@Invesco Try:
Measure =
VAR __Table = FILTER('eda_edetailing_slides_used', [drmf_clm_presentation_slide_id] <> BLANK())
VAR __Column1 = SELECTCOLUMNS(__Table,"__Column",[crm_call_name])
VAR __Column2 = SELECTCOLUMNS(__Table,"__Column",[crmf_hcp_id])
RETURN
COUNTROWS(DISTINCT(UNION(__Column1, __Column2)))
@Invesco Try:
Measure =
VAR __Table = FILTER('eda_edetailing_slides_used', [drmf_clm_presentation_slide_id] <> BLANK())
VAR __Column1 = SELECTCOLUMNS(__Table,"__Column",[crm_call_name])
VAR __Column2 = SELECTCOLUMNS(__Table,"__Column",[crmf_hcp_id])
RETURN
COUNTROWS(DISTINCT(UNION(__Column1, __Column2)))
Part 2 if your interested
Additional Filter to TRICKY DAX - Microsoft Power BI Community
Excellent thanks Greg
Also not working
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.