Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance 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 |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |