Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I have a table with two seperate columns that are both True/False. But there are also blanks in those columns. I want to calcualte the number of rows in both columns where both of them have a blank.
A sample table below. I want to return a count of 1, because Jack has a blank in both columns.
Users Has Exchange Has OneDrive
Bob TRUE TRUE
Jack
Sam FALSE False
Dave TRUE
Solved! Go to Solution.
It seems like this might be a good case for a calculated column
I'm a personal Power Bi Trainer I learn something every time I answer a question
The Golden Rules for Power BI
Help when you know. Ask when you don't!
Hi @sharpedogs
try a column
Column = calculate(countrows('Table');
FILTER(ALL('Table');ISBLANK('Table'[Has Exchange]) && ISBLANK('Table'[Has OneDrive]))
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
You can create a measure using the SUMX iterator.
Hi @sharpedogs
try a column
Column = calculate(countrows('Table');
FILTER(ALL('Table');ISBLANK('Table'[Has Exchange]) && ISBLANK('Table'[Has OneDrive]))
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
It seems like this might be a good case for a calculated column
I'm a personal Power Bi Trainer I learn something every time I answer a question
The Golden Rules for Power BI
Help when you know. Ask when you don't!
User | Count |
---|---|
47 | |
26 | |
22 | |
17 | |
15 |
User | Count |
---|---|
53 | |
34 | |
17 | |
17 | |
15 |