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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ShrimpSurf
Helper II
Helper II

How do you insert a block of text, based on a switch statement?

How do you insert a block of text, based on a switch statement?   I am using the table below and would like to insert as a title on a page.   Thank you for any help you can provide.

Screen Shot 2022-02-03 at 1.59.30 PM.jpg

 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @ShrimpSurf ,

 

Create a card visual and put [KPI] column in the visual.

Use [KPI_ID] column as slicer and select a single value. The card visual will show the corresponding [KPI] name.

Then use sycn slicer feature, add the slicer to all pages but not sycn the selected value.

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-slicers#sync-and-use-slicer... 

Manually select the corresponding slicer value for each page.

At last hide the slicers on all pages.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hi @ShrimpSurf ,

 

Create a card visual and put [KPI] column in the visual.

Use [KPI_ID] column as slicer and select a single value. The card visual will show the corresponding [KPI] name.

Then use sycn slicer feature, add the slicer to all pages but not sycn the selected value.

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-slicers#sync-and-use-slicer... 

Manually select the corresponding slicer value for each page.

At last hide the slicers on all pages.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@ShrimpSurf ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

refer if needed

Switch-Case statement of #PowerBI: https://www.youtube.com/watch?v=gelJWktlR80&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=56


Appreciate your Kudos.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.