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 August 31st. Request your voucher.
Hi guys,
in this example I want to count the products which have more than two rows, in combination with Brand.
Here Products C and E appear three times, so only these should be counted as 1 product. Other are counted as 0.
The sum would be 2.
Thank you for your help.
Solved! Go to Solution.
Hi, @thhmez7
You can try the following methods.
Maesure:
Count =
COUNTX (
FILTER (
SUMMARIZE ( 'Table', 'Table'[Product], "count", COUNT ( 'Table'[Product] ) ),
[count] > 2
),
[Product]
)
Is this the result you want?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @thhmez7
You can try the following methods.
Maesure:
Count =
COUNTX (
FILTER (
SUMMARIZE ( 'Table', 'Table'[Product], "count", COUNT ( 'Table'[Product] ) ),
[count] > 2
),
[Product]
)
Is this the result you want?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes, it works, thank you.
Basically similar to the previous measure, just count instead of countrows.
Thank you guys
User | Count |
---|---|
77 | |
76 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
81 | |
57 | |
48 | |
48 |