The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
Could you please help to get DAX formula to get Unique count between two tables.
PBIX: PBIX Sample
Formula:
Regards,
Chandrashekar B
Solved! Go to Solution.
@Chandrashekar
You can use
Count Available in Both =
COUNTROWS (
FILTER (
INTERSECT (
VALUES ( Table1[Number] ),
VALUES ( Table2[Number2] )
),
NOT ISBLANK ( [Number] )
)
)
Hello,
Could you please help to get DAX formula to get Unique count between two tables.
PBIX: PBIX Sample
Formula:
Regards,
Chandrashekar B
Hi Chandra,
What exactly are you trying to count?
Hello,
am trying to count Number ticket(Table1) present in Table2.
Kindly note Table2 may have Number which is not present in Table1.
Regards,
Chandrashekar B
@Chandrashekar
You can use
Count Available in Both =
COUNTROWS (
FILTER (
INTERSECT (
VALUES ( Table1[Number] ),
VALUES ( Table2[Number2] )
),
NOT ISBLANK ( [Number] )
)
)
Hello,
Thank you. It is working fine.
Regards,
Chandrashekar B
User | Count |
---|---|
14 | |
12 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
13 | |
8 | |
5 |