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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
louisquinet
Helper I
Helper I

Dynamic value in text

Hello

In my drill through page (for every product category) I want to change add the name of the product category at the top of the page. As you can see I added a text box in the top left corner of the page and added "product category" as dynamic, but it does not work. I can only see an icon of an eye with a slash through it instead of a the name of a product category.

louisquinet_0-1707305913442.png

Does anyone know what I do wrong?
Thank you in advance

Louis

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @louisquinet 

Create a measure

 

ProductCategory = SELECTEDVALUE(Table[Product Category])

 


Use the measure in Dynamic Text or in Card Visual. Make sure then you Drill Through, only one Product Category should selected.

Let me know if that works for you


If your requirement is solved, please make THIS ANSWER a SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
Linkedin

View solution in original post

5 REPLIES 5
PijushRoy
Super User
Super User

Hi @louisquinet 

Create a measure

 

ProductCategory = SELECTEDVALUE(Table[Product Category])

 


Use the measure in Dynamic Text or in Card Visual. Make sure then you Drill Through, only one Product Category should selected.

Let me know if that works for you


If your requirement is solved, please make THIS ANSWER a SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
Linkedin

@PijushRoy @RubenHd @Daniel29195 

Thank you all for your help. It got resolved 🙂

Welcome @louisquinet 

RubenHd
New Member

In case there's only one product, you can try using the MAX(product category) for the proposed calculation instead.

Another option is trying to use a card visual as stated in other replies.

Daniel29195
Super User
Super User

@louisquinet 

 

if you have no olbligation to use a textbox , try using a card visual instead.

 

let me know if it works. 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.