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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
DiePic
Resolver II
Resolver II

dinamic button slicer with label as in card

Hi all,

There is a button slicer, or some other not standard too, which allows me to have labels with in cards, where I can insert line and carriage returns
(UNICHAR(13) & UNICHAR(10))?
The label of this visual ( button slicer) cannot work with them.... I need something like this.
 

1 ACCEPTED SOLUTION
DiePic
Resolver II
Resolver II

If it's of interest, I solved it using a new card, I put the seller in the title and the rest in the subtitle, it works for me

View solution in original post

4 REPLIES 4
DiePic
Resolver II
Resolver II

If it's of interest, I solved it using a new card, I put the seller in the title and the rest in the subtitle, it works for me

Cookistador
Solution Sage
Solution Sage

You can create a calculated column with the following syntax:

 

MultiLineLabel =
YourTable[Field1] & UNICHAR(10) & YourTable[Field2] & UNICHAR(10) & YourTable[Field3]

 

Then, you can add your calculated column in a matrix and with some customisation, you could achieve what you need

Or it is also work with a filter, but you have to display it as Tiles

 

If you need more help, show us what you are trying to achieve 

 

bhanu_gautam
Super User
Super User

@DiePic In Power BI, the standard button slicer does not support inserting line and carriage returns using UNICHAR(13) and UNICHAR(10). However, you can achieve this by using a Text Box or a Card visual with a measure that includes these characters.

 

Measure = "Line 1" & UNICHAR(13) & UNICHAR(10) & "Line 2"




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Hi @bhanu_gautam and thanks for reply.
You are right, but I cannot use the measure or the card inside the label of the "standard button slicer", I've tried it.
I'm looking for something like this

DiePic_0-1744798347668.png

 

which increases if there are more sellers and data for them

 



Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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