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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi Team,
I am trying to count distinct customer discount percentage is > 15% same "COUNTIF(M15:M425,">"&15%)".
Solved! Go to Solution.
Hi @Sriku ,
Sorry for that we have a little confused about your issue.
How percentage is calculated?
We create a sample, and use the following measure to get the count.
Count =
CALCULATE(DISTINCTCOUNT('Table'[customer]),FILTER('Table',[%]>=0.15))
If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data or describe the fields of each tables and the relations between tables simply?
It will be helpful if you can show us the exact expected result based on the tables.
Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BTW, pbix as attached.
@Sriku , with few assumptions measure for discount percentage, is [discount percentage] , and customer group by
countx(filter(summarize(Table,Table[customer], "_1", [discount percentage]),[_1]>.15),[customer])
Hi Amit,
Getting a error message "Too few agruments were passed to countx function.The minimum count of hte function is 2
Regards,
Srikant
Hi @Sriku ,
Sorry for that we have a little confused about your issue.
How percentage is calculated?
We create a sample, and use the following measure to get the count.
Count =
CALCULATE(DISTINCTCOUNT('Table'[customer]),FILTER('Table',[%]>=0.15))
If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data or describe the fields of each tables and the relations between tables simply?
It will be helpful if you can show us the exact expected result based on the tables.
Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BTW, pbix as attached.
can you please post some sample data and desired results.
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 51 | |
| 42 | |
| 32 | |
| 26 | |
| 24 |
| User | Count |
|---|---|
| 131 | |
| 118 | |
| 58 | |
| 45 | |
| 43 |