Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Creating a drill-through button destination conditionally

Hi 🙂 

I'm following the microsoft page: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-drill-through-buttons#set-the-drill... trying to configure a drill through button that will just display/go to the drill through based on a condition. I have this column 'Amended' which takes a boolean True (1) and False (0). I've written a DAX Measure as recommended in the post to feedback the drill through location based on the condition I would like: 

 

AmendmentsDrillThrough = If(SELECTEDVALUE('fact Orders'[IsAmended])== 0, " ", "Amendments")

 

 

Following the post, it suggests next i just need to go into Action in my button and add it as a conditional formatting destination. I click the fx and go to add this measure, and it wont let me select it - it's greyed out. Any ideas? 

 

annaselway_0-1603728551781.png

 

I'm assuming it's because its not a Text value? 

 

But again this doesn't seem to be something i can change: 

annaselway_1-1603728781856.png

 




Any ideas? 

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Please check if the Data type of your column "IsAmended" is "Text".

If it is, please change your measure like so:

AmendmentsDrillThrough = If(SELECTEDVALUE('fact Orders'[IsAmended])== "0", " ", "Amendments")

 

 

Best regards

Icey

 

If this post helps,then consider Accepting it as the solution to help other members find it faster.

View solution in original post

1 REPLY 1
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Please check if the Data type of your column "IsAmended" is "Text".

If it is, please change your measure like so:

AmendmentsDrillThrough = If(SELECTEDVALUE('fact Orders'[IsAmended])== "0", " ", "Amendments")

 

 

Best regards

Icey

 

If this post helps,then consider Accepting it as the solution to help other members find it faster.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors