The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a column: SCORE with values 1, 2, ..., 10.
Then I have 3 measures:
Solved! Go to Solution.
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
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
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
There was no problem in measures, just the dummy data created that illusion...
Thanks all who took time to look at this.
Keep in mind tables will apply a "filter" context to your measure unless you explicitly tell it not to with a function like ALL().
Can you please be more specific?
thanks