Power BI
Needs VotesDetect drilldown (drill-down) level to support changing measure / title
Hymie Ho on 12 Oct 2016 04:09:32
I have a bar chart with a custom hierarchy that drills through different groups of people (sales managers, territory managers, etc.). On the same report I have a measure that calculates AVERAGE (Sales). I want that measure to show the average sales for the current hierarchy (by Sales Managers or by Territory Managers). Here is some pseudo-code with a new DAX command YAXISVALUES that shows how I would use this:
Average Display Value =
VAR
Total=
SWITCH(YAXISVALUES () ,
"SM", SUM('Sales'[Sales ($)]) / DISTINCTCOUNT('Sales'[SM]),
"TM", SUM('Sales'[Sales ($)]) / DISTINCTCOUNT('Sales'[TM])
)
RETURN
IF(ISBLANK(Total),0,Total)
See this topic for other use cases: https://community.powerbi.com/t5/Developer/Dyanmically-changing-the-title-based-on-the-drill-down/td-p/33411
- Comments (7)
RE: Detect drilldown (drill-down) level to support changing measure / title
Still waiting for this.
RE: Detect drilldown (drill-down) level to support changing measure / title
Without this labelling on a matrix I can not add levels to the columns because they do not know what they are . The rows provide a row header but this is missing from the column
RE: Detect drilldown (drill-down) level to support changing measure / title
This would be so useful!
RE: Detect drilldown (drill-down) level to support changing measure / title
This would be really helpful!
RE: Detect drilldown (drill-down) level to support changing measure / title
This would be great to show the breadcrumbs when end-users drill down through a chart.
RE: Detect drilldown (drill-down) level to support changing measure / title
Please! I am still waiting for this!
RE: Detect drilldown (drill-down) level to support changing measure / title
would love this idea, please add this