This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello All,
I thought this would be simple to do. Im just finding it difficult to create a measure that counts the number of rows, ignoring all blank rows. I thought that the 'ALLBLANKROW' function would be ideal. Its not nworking for me.
Basically, I have the following column in the table that I want to count and it cointained one blank. I dont want to count this blank so when I do a count I want 3. Whats is the best way to to this?
Last Login |
23/09/16 |
22/09/16 |
|
21/09/16 |
Solved! Go to Solution.
@magtuto Have you tried =COUNTA('table'[column])? Counts the values, not blank in my quick test.
@magtuto Have you tried =COUNTA('table'[column])? Counts the values, not blank in my quick test.
Eno Apologies.
The COUNTA measure does eliminate blanks.
Actually I did end up just creating a measure basically that performed COUNTA - COUNTBLANK calculations.
Works!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 43 | |
| 28 | |
| 24 | |
| 22 |