The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Basically the title. I have a very large table so it wouldn't be practical to post it here, but I am just doing a simple
Solved! Go to Solution.
Hi @scottz ,
Yes, please replace the blank ("" or " ")with null.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @scottz ,
Yes, please replace the blank ("" or " ")with null.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
So, I think I follow now. Empty=null, Empty =/= blank. So CountA needs a null, not a blank for the function to correctly not count that cell. So if I did 'replace values' in powerquery and changed <blank> to null that solves my problem?
@scottz , COUNTA - The COUNTA function counts the number of cells in a column that are not empty
so that will leave blank
https://docs.microsoft.com/en-us/dax/counta-function-dax
Try countrows('Weekly Reports')
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
9 | |
8 |