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
Need help to calculate number of NG product from below chart.
I tried DAX query but could not visualize the data in report view.
=COUNTA(DISTINCT(FILTER('Raw Data','Raw Data'[Product]&&'Raw Data'[OK/NG]="NG")))
Solved! Go to Solution.
This should work for you.
Measure =
CALCULATE(
DISTINCTCOUNT(sampleTable[Product]),
FILTER(sampleTable, sampleTable[OK/NG] = "NG")
)
Proud to be a Super User! | |
This should work for you.
Measure =
CALCULATE(
DISTINCTCOUNT(sampleTable[Product]),
FILTER(sampleTable, sampleTable[OK/NG] = "NG")
)
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |