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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I am new to power bi. I am looking for a formula that would return the count of “Yes” in columns “Timesheet Submitted 1” and “Timesheet Submitted 2” combined. So, the result would would be 6.
Ideally, if I could use a formula without having to pivot the table.
ID | Timesheet Submitted 1 | Timesheet Submitted 2 |
1 | Yes |
|
2 | Yes | Yes |
3 |
| Yes |
4 | Yes | Yes |
Thank you
Solved! Go to Solution.
Hi,
If it is to work in any evaluation context, try this Measure.
Count =
SUMX(
'Table',
IF('Table'[Timesheet Submitted 1] = "Yes", 1, 0) +
IF('Table'[Timesheet Submitted 2] = "Yes", 1, 0)
)
Hi,
If it is to work in any evaluation context, try this Measure.
Count =
SUMX(
'Table',
IF('Table'[Timesheet Submitted 1] = "Yes", 1, 0) +
IF('Table'[Timesheet Submitted 2] = "Yes", 1, 0)
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 46 | |
| 40 | |
| 38 | |
| 22 |
| User | Count |
|---|---|
| 178 | |
| 133 | |
| 118 | |
| 82 | |
| 56 |