Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Create a drill-through from a measure on Card

In my PBI file I have several measurements. There is a large data set that has been classified according to certain conditions. Based on these condtions an x amount of calculated columns have been created that classify a data point as TRUE or FALSE, see the dummy Table below.

 

ABCondition 1 (A > B)Condtion 2 (B> 6)
17FALSETRUE
40TRUEFALSE
128TRUETRUE

 

The next step is to calculate the number of times for which the Condition is true. For this a measure for each condition has been created following the syntax : 

Count_Condition 1 = CALCULATEROWS(COUNTROWS(TABLE1),FILTER(TABLE1,TABLE1[Condition 1] = TRUE))+ 0

 

This measure is plotted on a card. Now what I am trying to do is create a drill-through for Table1 from the Card that filters Table1 based on the rows for which the condition is true. Based on the drill-through of Condition 1 Table 1 would become:

 

ABCondition 1 (A > B)Condtion 2 (B> 6)
40TRUEFALSE
128TRUETRUE

 

However I have so far not been able to come up with a method to make this drill-through work from the measure. Is this even possible and if it is, how can I implement this?