Forum Discussion
selective filter in a measure
The information you have provided is not making the problem clear to me. Can you please explain with an example.
- Ley6 years ago
Helper I
I show an example,
As you can see Total incidencias Total tickets= CALCULATE(DISTINCTCOUNT(Data[Ticket ID]);ALL('Incidencias_similares'))
is not afected by filter, but it is not filtered by Patron
- amitchandak6 years ago
Super User
Is Patron part of data?
Try
CALCULATE(DISTINCTCOUNT(Data[Ticket ID]);ALLSELECTED('Incidencias_similares'))
CALCULATE(DISTINCTCOUNT(Data[Ticket ID]);ALL('Incidencias_similares'[Total Incidences]))
if you need more help make me @
Appreciate your Kudos. - PietroFarias6 years ago
Resolver II
This 'Incidencias_similares' table refers to what in that data? Because, as you are applying an ALL, I believe it is directly linked to 'Patron'.
- Ley6 years ago
Helper I
Incidencias_similares is a table that is used to create two filter (in the top of the image). Total tickets should not been filtered by Incidencias_similares.
Nevertheless, this measure should be filtered by [Patron] and [causa] columns from another table, "Data" table.