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! Get ahead of the game and start preparing now! Learn more
Hi All,
I am new to Power BI. We need to count the products based on target values.
The Product count should contain target values.
In the screenshot, we have 16 products but the expected count is 15.
Kindly provide the DAX for this.
Thanks in advance.
Solved! Go to Solution.
Ok check this one,
Here i have created one random measure.
Hope this works. IF not please provide more information regading target measure.
Thanks
Hi @Anonymous
Please check this solution. Here i have taken sample data with 10 Products with target values.
Here i have 8 poduct value haveing target greater than 0 so count should be 8. And here i have created the measure
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: https://www.youtube.com/@letssolveproblem
If it does not help, please provide more details with your desired output and pbix file with privacy information (or some sample data).
Best Regards
Hi,
Thanks for your response.
But my target is displayed by measure value. Based on the measure we need to take the count.
Ok check this one,
Here i have created one random measure.
Hope this works. IF not please provide more information regading target measure.
Thanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |