Forum Discussion
Measure not working when using in table with other columns
Hello,
I have a column: SCORE with values 1, 2, ..., 10.
Then I have 3 measures:
The score column is the one that has values that create the measure.
So the column date is in relationship with Date Table, no problem with Quarters, months etc.
But the problem is when I put in the table visual along with for example Company column.
I tried your solution, but the values get too low
6 Replies
- Aron_MooreSolution Specialist
Keep in mind tables will apply a "filter" context to your measure unless you explicitly tell it not to with a function like ALL().
- SabHelper V
Can you please be more specific?
thanks
- v-eachen-msftCommunity Support
Hi Sab ,
Would you like to provide some sample data? The information you give is limited, I can't get the context of the table.
And you can try this measure:
NPS = ( [Promoters] - [Detractors] ) / CALCULATE ( COUNTROWS ( 'Responses Database' ), ALLEXCEPT ( 'Responses Database', 'Responses Database'[Campany], 'Responses Database'[Quarter] ) ) * 100- SabHelper V
- SabHelper V
The score column is the one that has values that create the measure.
So the column date is in relationship with Date Table, no problem with Quarters, months etc.
But the problem is when I put in the table visual along with for example Company column.
I tried your solution, but the values get too low