I am trying to create a conditional drill through with measure.
I created a button to assist with this and I I have created a dax script to check if a column is chosen and direct to a certain page, but I am also trying to add check to see if a specific measure on the stack bar (made up of measure) then a specific page should be chosen.
Also I have a matrix table and when I try to drill through with the measure I direct it to a specific page that I have added the measure as a filter and it still returns all rows.
Based on this question below (the month context is missing), but I could not figure mine out Drill through filter based on a measure
I have attached my sample file . I will appreciate your help
Thank you Drill Through test.pbix (101.4 KB)
I also have had issues at times using Drill Through. But according to how it is to work it mentions that when one of these fields is used in a visual, select a data point to navigate to this page (The Page you want the Drill Through to be on). That will then filter the page to the values you selected in the source visual.
For your question about Conditionnal Drill Through
Your measure doesn’t work because the drilltrough is activated only when column Vehicle or column Colour is filtered.
When you click on the blue bar chart, the No of Sales is per Vehicle so your button is activated.
However, the Colour column is never in the graphs so this column will never be filtered.
For your second question, can you please be more specific on your demand ?
I have difficulties to understand what you are trying to achieve.
What is the result you want ? What columns need to be filtered ?
Thanks for the response. The colour condition is for something else, the stacked column uses the vehicle column, example below
Mazdasold = CALCULATE(
[No of sales],Sales[Vehicle] = “Mazda”
)
I would expected it to activate the button. what I have done temporarily is to create a page for each measure for drill and I have placed a filer on the visual to return only the specific type of vehicle. It is not the best so far and I have repeated the same thing for the second question.
While our users and experts do as much as reasonable to help you with your inquiries, not all concerns can be attended to especially if there are some learnings to be done. Thank you!