Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi there,
I created a string from AdventureWorksDW - Product and sales looks like that (I will use it in a slicer under Product Categories
If you aren't using a fixed-width (monospaced) font, then you won't easily be able to get things to align using spaces since most fonts don't have the same width for spaces as every other character.
So is there any solution to that? If so any examples wil be much appriciated
Thanks,
Oded Dror
You could use a monospaced font or use multiple columns instead of a single concatenated label.
Expecting a variable-width font to act like a monospaced font will only lead to frustration.
But this is going to be in a slicer which don't have multiple column that way I'm building the string
And slicer don't have alignment
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 21 | |
| 18 | |
| 11 |
| User | Count |
|---|---|
| 56 | |
| 54 | |
| 43 | |
| 36 | |
| 34 |