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 created a measure to count based on a specific text value in a column.
This measure is showings the number of available monitors in my company by using this logic:
Solved! Go to Solution.
Hi @Anonymous ,
To make the external filters work, modify your DAX as follows:
The filter in your measure is overriding the filter from the Filter. To avoid that, you can add an IF before your expression.
CountAvailableAssets(FullList) =
IF (
"Yes"
IN VALUES ( 'Asset Management Full version'[Available] ),
CALCULATE (
DISTINCTCOUNT ( 'Asset Management Full version'[SBMBarcode] ),
'Asset Management Full version'[Available] = "Yes"
) + 0
)
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The filter in your measure is overriding the filter from the Filter. To avoid that, you can add an IF before your expression.
CountAvailableAssets(FullList) =
IF (
"Yes"
IN VALUES ( 'Asset Management Full version'[Available] ),
CALCULATE (
DISTINCTCOUNT ( 'Asset Management Full version'[SBMBarcode] ),
'Asset Management Full version'[Available] = "Yes"
) + 0
)
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi @Anonymous ,
To make the external filters work, modify your DAX as follows:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 41 | |
| 33 | |
| 30 | |
| 27 |
| User | Count |
|---|---|
| 132 | |
| 112 | |
| 58 | |
| 57 | |
| 57 |