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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello everyone,
I'm working in a Power BI dashboard, I'm pulling the information from an Analysis Services Cube, I'm using the data of the selected fields into a Data Table visualization, until this, It's working perfectly. The request is that I need to show in the value of a CARD the total or the COUNT of cells that blank of a column that is being shown.
I have tried different Measures formulas but no luck until now. IWould appreciate a lot your help.
Thank you.
Solved! Go to Solution.
Hi @DataRodo ,
If the field is a text type,using below dax expression:
Measure = CALCULATE(COUNTROWS('DimGeography'),FILTER(ALL(DimGeography),'DimGeography'[City]=BLANK()))+0
If it's a whole number format,try below:
Measure = CALCULATE(COUNTROWS('DimGeography'),FILTER(ALL(DimGeography),Not(ISNUMBER('DimGeography'[City]))))+0
After checking,the above measures work fine here.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi @DataRodo ,
If the field is a text type,using below dax expression:
Measure = CALCULATE(COUNTROWS('DimGeography'),FILTER(ALL(DimGeography),'DimGeography'[City]=BLANK()))+0
If it's a whole number format,try below:
Measure = CALCULATE(COUNTROWS('DimGeography'),FILTER(ALL(DimGeography),Not(ISNUMBER('DimGeography'[City]))))+0
After checking,the above measures work fine here.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi @DataRodo
You can use COUNTBLANK(<column>) formula
https://docs.microsoft.com/en-us/dax/countblank-function-dax
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Actually that's the one that I was trring to use but for some reason the result is always: [ 1 ] or sometimes <blank>
How is your Model connecting to your Cubes? Live connection?
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
I think yes. The connection is happening to a connection to the server.
I am afraid it is the problem. check this out
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-analysis-services-tabular-data
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.