Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hey y'all!
I'm trying to sum columns with a conidion, where the value <> 4
I tried to do the following but I didn't succeed:
((Column A <> 4) + (Column B <> 4) + (Column C <> 4))/10
Any idea how this can be done?
Thank you
Solved! Go to Solution.
Hi @Razaning
please try
Measur =
SUMX (
FILTER (
'Table',
'Table'[ColumnA] <> 4
&& 'Table'[ColumnB] <> 4
&& 'Table'[ColumnC] <> 4
),
'Table'[Column A] + 'Table'[Column B] + 'Table'[Column C]
) / 10
Hi @Razaning
please try
Measur =
SUMX (
FILTER (
'Table',
'Table'[ColumnA] <> 4
&& 'Table'[ColumnB] <> 4
&& 'Table'[ColumnC] <> 4
),
'Table'[Column A] + 'Table'[Column B] + 'Table'[Column C]
) / 10
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |