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
I have these measures in the mbammsreportshare table:
The third measure gets this error:
The query referenced calculated column 'mbammsreportshare'[access_count_num] which does not hold any data because there is an error in its expression.
If I remove the filter from the last measure it doesn't have the error.
There is no access_count_num column in the mbammsreportshare table or any other table. There is a column called access_count in mbammsreportshare. It is not used by any of the measures.
What could be the cause of this?
Thanks for your help.
Solved! Go to Solution.
Hi @gspollock ,
Please try below dax formula:
Count of Acct Mgrs =
VAR numshares =
CALCULATE (
DISTINCTCOUNT ( mbammsreportshare[acct_mgr_name] ),
FILTER ( ALL ( mbammsreportshare ), [Meets Quarterly Share Goal] = 1 )
)
RETURN
numshares
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gspollock ,
Please try below dax formula:
Count of Acct Mgrs =
VAR numshares =
CALCULATE (
DISTINCTCOUNT ( mbammsreportshare[acct_mgr_name] ),
FILTER ( ALL ( mbammsreportshare ), [Meets Quarterly Share Goal] = 1 )
)
RETURN
numshares
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 6 | |
| 6 |