Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am creating a button to take me to different drill through pages based on the cell I have clicked on. Below is what I currently have and works for the row selected. What I am struggling with is getting it to work based on the column as well. If I select 907 in the screen shot I would want to go to page referrals last 12 months, if I selected 439 I would want to go to referrals ytd. Any tips would be greatly appreciated.
Solved! Go to Solution.
@RevDan123 So you can create a single measure that figures out which measure to display. For example:
Measure =
VAR __Row = MAX('Table'[Row])
VAR __Column = MAX('Table 2'[Column])
VAR __Result =
SWITCH( TRUE(),
__Row = "Referral" && __Column = "Current Month", [CM Referral Measure],
__Row = "Referral" && __Column = "YTD", [YTD Referral Measure],
__Row = "Pipeline" && __Column = "Current Month", [CM Pipeline Measure],
__Row = "Pipeline" && __Column = "YTD", [YTD Pipeline Measure]
)
RETURN
__Result
I really don't have enough information to be more specific.
@RevDan123 Not sure you can get there if those are measures. If you used a disconnected table for the column names and a single selection measure then I think you could use the same technique.
@Greg_Deckler Yeah they are measures. Sorry what do you mean by single selection measure?
Do you have any tips on resolving the same issue, but in the below case the column headers are based on the date table?
@RevDan123 So you can create a single measure that figures out which measure to display. For example:
Measure =
VAR __Row = MAX('Table'[Row])
VAR __Column = MAX('Table 2'[Column])
VAR __Result =
SWITCH( TRUE(),
__Row = "Referral" && __Column = "Current Month", [CM Referral Measure],
__Row = "Referral" && __Column = "YTD", [YTD Referral Measure],
__Row = "Pipeline" && __Column = "Current Month", [CM Pipeline Measure],
__Row = "Pipeline" && __Column = "YTD", [YTD Pipeline Measure]
)
RETURN
__Result
I really don't have enough information to be more specific.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |