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 All,
Here is a sample of my dataset:
This table is called RES
I want to sum all the columns while filtering "What is your job tenure?"
For example, how many people "More than 10 years"gave a "1" across all 5 columns?
How many people "1-3 years" gave a "1" across all 5 columns?
And so on.
Please help.
Thank you
Solved! Go to Solution.
Hi, @e175429
You can try this measure.
DAX:
Sum of persons =
VAR _listens =
CALCULATE ( SUM ( 'Table'[Listens] ) )
VAR _kind =
CALCULATE ( SUM ( 'Table'[Kind] ) )
VAR _fair =
CALCULATE ( SUM ( 'Table'[Fair] ) )
VAR _micromanage =
CALCULATE ( SUM ( 'Table'[Micromanage] ) )
VAR _manageWorkload =
CALCULATE ( SUM ( 'Table'[Manage workload] ) )
VAR _result = _listens + _kind + _fair + _micromanage + _manageWorkload
RETURN
_result
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi, @e175429
You can try this measure.
DAX:
Sum of persons =
VAR _listens =
CALCULATE ( SUM ( 'Table'[Listens] ) )
VAR _kind =
CALCULATE ( SUM ( 'Table'[Kind] ) )
VAR _fair =
CALCULATE ( SUM ( 'Table'[Fair] ) )
VAR _micromanage =
CALCULATE ( SUM ( 'Table'[Micromanage] ) )
VAR _manageWorkload =
CALCULATE ( SUM ( 'Table'[Manage workload] ) )
VAR _result = _listens + _kind + _fair + _micromanage + _manageWorkload
RETURN
_result
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 19 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 20 | |
| 12 | |
| 10 |